Home » , » program menentukan posisi dan ineks nilai dalam c++

program menentukan posisi dan ineks nilai dalam c++

Written By made oka jaya diputra on Thursday, October 4, 2012 | 7:31 PM

#include
#include

main() {

int total=0,n,i,bil[100];

cout<<"Masukkan Banyak Bilangan, Maksimal 100";
cout<<"\nMasukkan Banyak Bilangan\t:";cin>>n;
cout<

for (i=1;i<=n;i++)
{
cout<<"Masukkan Bilangan Ke "<>bil[100];
total=total+bil[100];
}
cout<

for (i=1;i<=n;i++)
{
cout<<"Bilangan Pada Posisi : "<<
cout<
}

{cout<<"\n\nTotalnya Adalah :"<
}
getch();
}
Share this article :

0 comments:

Post a Comment

 
Support : Your Link | Your Link | Your Link
Copyright © 2013. bli blogen - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger