program to find the average score of 20 students offering 5 courses.
1
Expert's answer
2013-01-21T11:36:37-0500
#include<iostream> using namespace std; & int main (){ int a[20],c,q=0; float s; cout<<"enter the course :"; cin>>c; for (int i=0;i<20;i++){ cout<<i+1<<" enter score"<<endl; cin>>a[i]; q+=a[i]; } & s=q/20; cout<<"the average score : "<<s<<endl; & system("PAUSE"); & }
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment