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();
}

4 Responses so far.

  1. Anonymous says:

    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

  2. Anonymous says:

    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

  3. Anonymous says:

    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

  4. Anonymous says:

    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

Popular Post

Total Pageviews

Sign In

Follow by Email

Powered by Blogger.

Like Us on Facebook

Search This Blog

Loading...

Indian Coder

- Copyright © Programming Mania -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -