shuvendu sekhar sahu


{ City } rourkela
< Country > india
* Profession * college
User No # 72695
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 # 54
Users Marked my Answers as Wrong # 45
Questions / { shuvendu sekhar sahu }
Questions Answers Category Views Company eMail




Answers / { shuvendu sekhar sahu }

Question { NIIT, 73469 }

write a program to find the number of even integers and odd
integers in a given array in c language


Answer

#include
#include
main()
{
int x;
clrscr();
printf("Enter the value");
scanf("%d",& x);
if(x%2==0)
printf("x is even");
else
printf("x is odd");
getch();
}

Is This Answer Correct ?    54 Yes 45 No