1、统计一共有多少单词
1 #include<stdio.h> 2 int main() 3 { 4 char string[100]; 5 int i,num=0,word=0; 6 char c; 7 gets(string); 8 for(i=0;(c=string[i])!='