#include"stdio.h"
void main()
{
int a;
printf("Enter the number \n");
scanf("%d",&a);
if(a%2==0)
{
printf("\n The number is even");
}
else
{
printf("\n The number is odd");
}
getch();
}
Jun 2, 2012
#3 - Odd or Even [C]
Labels:
C
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment