#include
#include
void main(){
int i,nilai[100],n,total;
double rata;
total =0;
cout<<"banyaknya mahasswa:";cin>>n;
for (i=1;i<=n;i++)
{
cout<<"nilai mahasiswa ke"<>nilai[i];
total+=nilai[i] ;
}
cout<<"total nilai mahasiswa: "<
cout<<"rata-rata nilainya: "<
No comments:
Post a Comment