#include<stdio.h>
void main()
{
{
int i,n;
printf("enter the number ");
scanf("%d",&n);
i=n&1;
if(i==0)
{
printf("Given number is even");
}
else
{
printf("Given number is odd ");
}
}
No comments:
Post a Comment