-–-----–-----------
#include<stdio.h>
#include<conio.h>
Void main()
{
int number;
printf("Enter a number :");
scanf("%d",&number);
if((n/2)*2==n)
printf("Number is even");
else
printf("Number is odd");
getch();
}
--–-----–------------
No comments:
Post a Comment