You are on page 1of 1

#include<stdio.h> #include<conio.

h>

void main() { int n; printf("Enter the value of n"); scanf("%d",&n); if(n%2==0) printf("Number is Even"); else printf("Number is Odd"); getch(); }

You might also like