- Back to Home »
- ARRAY PROGRAMS , GENERAL OR BASIC PROGRAMS »
- C Program to Count of Even and Odd Numbers From given array of elements
Posted by : ANIMESH SHAW
Monday, 5 March 2012
#include<stdio.h>
#include<conio.h>
main()
{
int i,num[10],even=0,odd=0;
clrscr();
for(i=0;i<10;i++)
{
printf("\n enter the number");
scanf("%d",&num[i]);
}
for(i=0;i<=10;i++)
{
if(num[i]%2==0)
{
printf("\n even");
even++;
}
else
{
printf("\n odd");
odd++;
}} printf("\n even no=%d",even);
printf("\n odd no=%d",odd);
getch();
}

I don't even know how I ended up here, but I thought this post was great. I do not know who you are but definitely you're going to
a famous blogger if you aren't already ;) Cheers!
installing hardwood floors
Also visit my page: refinishing hardwood floors
You ought to be a part of a contest for one of the most useful sites
on the web. I most certainly will highly recommend this website!
Stop by my weblog; zetaclear side effects
I'm really enjoying the theme/design of your web site. Do you ever run into any web browser compatibility issues? A couple of my blog visitors have complained about my site not working correctly in Explorer but looks great in Chrome. Do you have any advice to help fix this problem?
engineered hardwood floors
I simply could not leave your site prior to suggesting that I actually enjoyed the usual info a person provide for your guests?
Is going to be again incessantly to check up on new
posts
My web site hair growth cycle