怎么样使n不等于零
怎样的输出形式能让n不等于零#include"stdio.h"
#include"ctype.h"
main()
{long n=0;
char ch;
while(ch=(getchar())!='!')
if(isspace(ch))n++;
printf("n=%1d\n",n);}
怎样的输出形式能让n不等于零#include"stdio.h"
#include"ctype.h"
main()
{long n=0;
char ch;
while(ch=(getchar())!='!')
if(isspace(ch))n++;
printf("n=%1d\n",n);}
2017-02-25
举报