Home
About Us
Contact Us
Terms And Conditions
Privacy Policy
Disclaimer
Ticker
6/recent/ticker-posts
Home
C
C programming, Check even or odd of a number.
C programming, Check even or odd of a number.
Simplify Articles
February 01, 2025
#include <stdio.h>
int main() {
int num;
printf("Enter an integer: ");
scanf("%d", &num);
if(num % 2 == 0)
printf("%d is even.", num);
else
printf("%d is odd.", num);
return 0;
}
Post a Comment
0 Comments
Night Mode
🌓 Toggle Night Mode
Labels
Business Communication II
8
Business Economics
12
Emerging Technologies & Apps
8
Human Behaviour & Organisation
7
Indian Constitution
10
Marketing Management
8
Media Literacy & Critical Thinking
9
0 Comments