#include <stdio.h>
int main()
{
int n;
printf("Enter an integer\n");
scanf("%d", &n);
if ((n / 2) * 2 == n)
printf("Even\n");
else
printf("Odd\n");
return 0;
}
Enter an integer
7
The number is Odd
FREE JOB ALERT & ONLINE TUTORIALS
#include <stdio.h>
int main()
{
int n;
printf("Enter an integer\n");
scanf("%d", &n);
if ((n / 2) * 2 == n)
printf("Even\n");
else
printf("Odd\n");
return 0;
}
Enter an integer
7
The number is Odd
About Anand Aithani
hey, my self Anand Singh Aithani,
"Advance Diploma in Information Technology" Diploma Holder, and also have " Advance Diploma in Computer Hardware and Networking".
this website for helping all of you who want to grow with us ......
![]()
hey, my self Anand Singh Aithani,
"Advance Diploma in Information Technology" Diploma Holder, and also have " Advance Diploma in Computer Hardware & Networking".
this website for helping all of you who want to grow with us ......
No comments:
Post a Comment