私信TA
用户名:zhen6
访问量:14006
签 名:
自我简介:
作者: zhen6 发表时间:2020-08-13 14:45:18 浏览:112 | 评论:0
解题思路:注意事项:参考代码:
#include <stdio.h>
#include <string.h>
int main ()
{
int count=0;
char a[100];
gets(a);
for(int i=0;i<strlen(a);i++)
if(a[i]==' ')
count++;
}
printf("%d",count+1);
return 0;
0.0分
0 人评分
看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:
编程语言转换
万能编程问答
代码解释器
代码纠错
SQL生成与解释