In this program, we will find odd or even numbers given by the user
#include<stdio.h> #include<conio.h> Void main() { int n; printf("Enter an integer"); scanf("%d", &n); if (n%2==0) printf("This is even number"); else printf("This is odd number"); getch(); }