//C Program to Check Even or Odd Using Modulo Operator
#include <stdio.h>
void checkOddEven(int N){
//Find the remainder
int r=N%2;
//Condition for even
if(r==0){
printf("Even");
}
//Condition for odd number
else{
printf("Odd");
}
}
int main() {
int N=95678;
checkOddEven(N);
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: