Answer Posted / k.naveen kumar
#include<stdio.h>
#include<conio.h>
main()
{
int a;
printf("Please enter the number :=> ");
scanf("%d",&a);
if (a%2==0)
printf("Even");
else
printf("odd");
getch();
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why is it usually a bad idea to use gets()? Suggest a workaround.
What are the different types of endless loops?
What is #define used for in c?
Why do we use pointer to pointer in c?
What is a lvalue
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
What is calloc() function?
What is "Hungarian Notation"?
What is break statement?
What kind of structure is a house?
What is a spanning Tree?
What is openmp in c?
How do we make a global variable accessible across files? Explain the extern keyword?
where are auto variables stored? What are the characteristics of an auto variable?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.