Home > Back-end >  Beginner C language help
Beginner C language help

Time:01-23


Chinese university mooc WengKai teacher C class inside a homework assignments for help I write program where there is a problem thanks!!!!!!
# include
Int main ()
{
int a;
Int b=0;
Int n=0;
Int h=1;
Int m=1;
The scanf (" % d ", & amp; A);
Do
{
B++;
C=(a % of the int 10);
Int d=c % 2;
Int g=% 2 b;
Int a=(a - c)/10;
if(d!=g)
{
Do {
H=h * 2;
m++;
}
While (m!=b);
}
The else
{
Int h=0;
}
N=n + h;
}
While (a!=0);
printf("%d",n);
return 0;
}

CodePudding user response:

C class shouldn't figure out the problems, the algorithm? What also don't like, let the students master?
  • Related