C Language EVEN OR ODD NO.

#include
#include
void main()
{
int a;
clrscr();
printf ("Enter Value");
scanf ("%d",&a);
if (a%2==0)
{
printf("This is EVEN No.");
}
else printf("This is ODD No.");

getch();
}

Comments

Popular posts from this blog

NICOSIA