skip to main | skip to sidebar

takebacknews

Tuesday, January 26, 2010

Create A Program That Will Ask Ten Number, Then Count The Number Of Odd Numbers You Entered?

void main()

{

int i,a[10],count=0;

printf("Enter the ten numbers");

for(i=0;i<10;i++) scanf("%d",&a[i]);

for(i=0;i<10;i++) if(a[i]%2!=0) count++;

printf("The number of odd numbers is "+count);
}

 

Newer Post Older Post Home

Chatter Box

Friends blog roll

  • Health and Fitness Tips
    The Benefits of Eating Bananas
  • World Cup 2010 South Africa
    Muller named Hyundai Best Young Player
  • E=MC^2 (A NEW ENERGY EVOLVED)
    Poonam Pandey Strip
  • Distinct Thoughts
  • It's My LIFE
    Tael-Mehndi
  • My Forex Journal and Strategy
    Analysis
  • Windows dan OS
    Web Hosting Murah Unlimited Bandwith Loooh...
  • gud2cookrecipes
    Aloo Manchurian
  • Forex4beginners
  • Membuat program quene dengan bahasa pascal (program antrian kereta api,antrian loket karcis,antrian pendaftaran spmb,dll)
  • Vienesky.com
  • The Other Side Of Me
  • Serious Entertainment
  • LearnHow2Earn.net
  • Best Home Improvement
  • Trend n' Fav
  • Dunia Dalam Blog
  • Universal Zone
  • MAGIC ZONE-HOME - Enlaces Amigas Blogroll

Blog Archive

  • ▼  2010 (7)
    • ▼  January (7)
      • Program To Find The Sum Of Series 1+1/2+1/3+...+1/...
      • Any Good Tips To Create A Strong Debate Speech? b...
      • Create A Program That Will Ask Ten Number, Then Co...
      • How To Format A Proper Report?better use microsoft...
      • If You Add Three-fourths Of A Number To The Number...
      • The right place for readers
      • Sites down to earth
  • ►  2009 (10)
    • ►  August (10)

My Traffic

Link-exchange.comxa.com