C program to check a number even or odd #include <stdio.h> int main() { int number; printf("Enter an integer: "); scanf("%d", &number); if(number % 2 == 0) printf("%d is even.", number); else printf("%d is odd.", number); return 0; }
This website is actually educational but it's also provide job update & education related updated . Thanks for coming my page .