2021年6月10日
摘要: 1 #include <iostream> 2 #include <string> 3 4 using namespace std; 5 int digit; 6 7 int main(void) { 8 void count(string str); 9 printf("Please input 阅读全文
posted @ 2021-06-10 00:59 古堡里一片荒芜 阅读(772) 评论(0) 推荐(0) 编辑
摘要: 输入一行字符,分别统计其中字母、空格、数字和其他字符的个数。 1 // 2 // Created by Green on 2021/6/9. 3 // 4 #include <iostream> 5 6 using namespace std; 7 int letters, digit, space 阅读全文
posted @ 2021-06-10 00:14 古堡里一片荒芜 阅读(2440) 评论(0) 推荐(0) 编辑