naven


{ City } hyd
< Country > india
* Profession * student
User No # 84098
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 1
Users Marked my Answers as Wrong # 0
Questions / { naven }
Questions Answers Category Views Company eMail




Answers / { naven }

Question { TCS, 27881 }

write a program for even numbers?


Answer

#include
#include
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