Home > Back-end >  Input a number to judge it is odd or even
Input a number to judge it is odd or even

Time:12-21

# include & lt; stdio.h>
Void main ()
{
int a;
Printf (" input the number: ");
The scanf (" % d ", & amp; A);
If (a % 2!=0)
Printf (" % d is odd! \ n ", a);
The else
Printf (" % d is an even number! \ n ", a);
}

CodePudding user response:

Lz is the problem?
  • Related