Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program to accept the input of 10 students\' test scores in the range 0-

ID: 3643226 • Letter: W

Question

Write a program to accept the input of 10 students' test scores in the range 0-100. The program should then calculate the Highest test score as well as the average test score, and then print on screen the total number of A/B/C/D/F scores based upon a 90/80/70/60 scale.

This program should process on screen similar to the following:
==================================
Enter 10 test scores: 40 30 45 90 62 86 97 83 58 87
The average test score is: 67.8
The highest test score is: 97
As: 2
Bs: 3
Cs: 0
Ds: 1
Fs: 4
==================================

Be sure to use an array to store the 10 test scores.


i need to use: int main()
and void statements that are defined outside of main

Explanation / Answer

#include #include using namespace std; int main() { int max=0; int sum=0; int average=0; int marks[10]; int a=0; int b=0; int c=0; int d=0; int f=0; cout marks[count]; for ( int i = 0; i < 10; i++ ) { sum += marks[i]; } average = sum / 10; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote