Home > Back-end >  Help to have a look at this problem
Help to have a look at this problem

Time:10-19

Beginner c, look not to understand the place, o bosses help to see what you mean here, where are the green words the child can't think out why
#include
The main ()
{
Int n=0;
char c;
C=getchar ();
While (c! )
='\ n'{
If (c>='0' & amp; & C<='9')
n++;
c=getchar ();//this is why???????
}
Printf (" n=% d \ n ", n);
}

CodePudding user response:

  • Related