-1

a class of ten students took a quiz the grades ( integer in range of 0_100) for this quiz are avialabe to you.calculate and display the total of all student grades and the cladd average on the quiz.. plzz help

c++

10/23/2016 11:36:31 PM

Darren Carrillo

3 Answers

New Answer

+2

int arr[10] = {76, 80, 92, 79, 84, 86, 95, 70, 63, 73}; int sum = 0; for (int i = 0; i < 10; i++) { sum += arr[i]; } cout << "The total of all the grades is " << sum << "." << endl; cout << "The average grade for this quiz is " << (double)sum/10 << endl; Is this what you were looking for?

0

yes thank you so much

0

algorithm of that please somone