#include <stdio.h>
int main()
{
int num;
printf("\n----------------EVEN NO OR NOT----------------");
printf("\nEnter an integer number: ");
scanf("%d",&num);
if(num%2==0)
printf("\n%d is an EVEN number.",num);
else
printf("\n%d is an ODD number.",num);
return 0;
}
No comments:
Post a Comment