#include<stdio.h> #include<conio.h> void main() { int n; clrscr(); printf("enter the no"); scanf("%d",&n); if(n%2==0) { printf("no is even"); } else { printf("no is odd"); } getch(); }
No comments
Post a Comment