#include<stdio.h>
main()
{
int n;
printf("Enter an integer\n");
scanf("%d",&n);
n%2 == 0 ? printf("Even number\n") : printf("Odd number\n");
return 0;
}
Placement papers|C,C++,JAVA Programming Tutorials|
PROGRAMMING CONCEPTS Designed by PSD Style © 2011 All Rights Reserved.
0 comments:
Post a Comment