Source
Code:
#include<conio.h>
#include<stdio.h>
#include<math.h>
int main()
{
int A;
printf("\n enter the number:");
scanf("%d",&A);
if(A%2==0)
printf("\n the number is even ");
else
printf("\n the number is odd ");
getch();
return 0;
}
No comments:
Post a Comment