we can share the knowledge with our friends. So they can share with their friends. and so on...
Finally You can turn back ...how many of them stand behind you....
Monday, January 4, 2010
Program to find whether given no is even or odd
#include
#include
void main()
{
int n;
clrscr();
printf("enter any no: ");
scanf("%d",&n);
if(n%2==0)
printf("no is even");
else
printf("no is odd");
getch();
}
No comments:
Post a Comment