/* 3 program of even and odd number */
#include<stdio.h>
#include<conio.h>
void main()
{
int n;
clrscr();
printf("Enter a number :");
scanf("%d",&n);
if((n*n)%2==0)
printf("even number");
else
printf("odd number");
getch();
}
google-site-verification: googlef8aa845b858144d3.html
No comments:
Post a Comment