The program must accept an integer N as the input. The program must print Odd if N is odd. Else the program must print Even as the output.
Example Input/Output 1:
Input:
5
Output:
Odd
Example Input/Output 2:
Input:
18
Output:
Even
#include<stdio.h> int main() { int N; scanf("%d", &N); if(N % 2){ printf("Odd"); } else{ printf("Even"); } return 0; }