..
Free
|
|||||||
|
|
|||||||
/* Program to check whether a no. is even or odd.*/#include<stdio.h> #include<conio.h> int main() { int a; clrscr(); printf("enter value of a"); scanf("%d",&a); if(a%2==0) { printf("no. is even"); } else { printf("no. is odd"); } getch(); return 0; } COPYRIGHT 2009 ALL RIGHTS RESERVED FREECPROGRAMS.COM |
|||||||