#include<stdio.h>
#include<conio.h>
void main()
{
int num,r;
clrscr();
printf("ENTER ANY NUMBER");
scanf("%d",&num);
if(num%2==0)
{
printf("%d is even",num);
}
else
{
printf("%d is odd",num);
}
getch();
}
#include<conio.h>
void main()
{
int num,r;
clrscr();
printf("ENTER ANY NUMBER");
scanf("%d",&num);
if(num%2==0)
{
printf("%d is even",num);
}
else
{
printf("%d is odd",num);
}
getch();
}
0 comments: (+add yours?)
Post a Comment