#include<stdio.h>
int main ()
{
int n;
printf("Enter the value of n:");
scanf("%d",&n);
if(n%2==0)
{
printf("Even");
}
else
{
printf("Odd");
}
return 0;
}
#include<stdio.h>
int main ()
{
int n;
printf("Enter the value of n:");
scanf("%d",&n);
if(n%2==0)
{
printf("Even");
}
else
{
printf("Odd");
}
return 0;
}
0 Comments