Wednesday, February 18, 2015

Program to add 10 no's.

//Addition of 10 no's.
#include<stdio.h>
#include<conio.h>
 main()
{
 int n[15],o=0,e,i;
    printf("Enter the 10 no ");
 for(i=0;i<5;i++)
 {
  scanf("%d",&n[i]);
 }
    printf("The entered array is ");
     for(i=0;i<5;i++)
  {printf("   ");
         printf("%d",n[i]);
  }
  for(i=0;i<5;i++)
  {
   o=o+n[i];
  }
  printf("Sum =%d",o);
  getch();
}

2 comments:

  1. The Best Casino Sites for 2021 - LuckyClub
    What is the Best Casino For Live Roulette? — Most casinos let you choose from hundreds of table games, luckyclub.live including Roulette and Blackjack. Even though the

    ReplyDelete
  2. Caesars Palace Hotel Casino & Spa - Mapyro
    › › 광주광역 출장안마 Caesars 부산광역 출장샵 Palace Hotel Casino & Spa › › Caesars 광명 출장샵 Palace Hotel Casino & Spa. 7.7/10 8am 삼척 출장마사지 - 8pm. Hours: 8am 강릉 출장마사지 - 8pm.

    ReplyDelete