#include<stdio.h>
#include<conio.h>
int main()
{
int num;
print("enter a number");
scanf("%d",&num);
if(num%2==0)
printf("number is even");
else
printf("number is odd");
getch();
}
#include<conio.h>
int main()
{
int num;
print("enter a number");
scanf("%d",&num);
if(num%2==0)
printf("number is even");
else
printf("number is odd");
getch();
}
3 Comments
Thanks bhai for help me
ReplyDeleteGood work Bhai
ReplyDeleteNice work
ReplyDelete