Answer Posted / v.karthikeyan
#include <stdio.h>
main()
{
int num;
printf("Enter a number to know the entered number is odd or
even \n");
scanf("%d",&num);
if (num%2==0)
{
printf(" The number is Even");
else
printf(" The number is Odd")
}
getch();
}
Is This Answer Correct ? | 88 Yes | 15 No |
Post New Answer View All Answers
What is static volatile in c?
Explain what are bus errors, memory faults, and core dumps?
How can I read in an object file and jump to locations in it?
Why is structure important for a child?
Explain the use of 'auto' keyword in c programming?
Place the #include statement must be written in the program?
Why we use stdio h in c?
What is the difference between fread and fwrite function?
What is a string?
Explain what is page thrashing?
Explain why can’t constant values be used to define an array’s initial size?
List the different types of c tokens?
Why isnt there a numbered, multi-level break statement to break out
Define recursion in c.
in iso what are the common technological language?