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 define c?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
How does selection sort work in c?
How can I remove the trailing spaces from a string?
Can a variable be both static and volatile in c?
How do I copy files?
What are the different file extensions involved when programming in C?
How does sizeof know array size?
What is c preprocessor mean?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
Differentiate Source Codes from Object Codes
What is the meaning of 2d in c?
What is meant by 'bit masking'?
What is the collection of communication lines and routers called?
What is the time and space complexities of merge sort and when is it preferred over quick sort?