We have the followingscore data, the last one represents the end of mark, not th
ID: 3616155 • Letter: W
Question
We have the followingscore data, the last one represents the end of mark, not thedata.
72,23,38,86,62,29,99,96,67,78,87,76,65,58,86,69,93,34,45,55
52, 7,74,48,83,39,90,18,82,26,65,53,39,96,66,-1
(a). Calculate theaverage score of the data.
(b).Count the number ofdata in each interval. The difference between each interval is 10point.
That is
0~9, 10~19, 20~29,30~39, 40~49,50~59, 60~69,70~79, 80~89, 90~100
(c). Count thenumber of data above the average and below theaverage.
(d).The output formatwill be:
*****SCOREREPORT*****
MEAN =##.###
ABOVE MEAN= ##
BELOW MEAN= ##
0~ 9: *
10~ 19: *
20~ 29: ***
30~ 39: ****
40~ 49: **
50~ 59: ****
60~ 69: ******
70~ 79: ****
80~ 89: ****
90~100: *****
Explanation / Answer
please rate - thanks #include #include using namespace std; int main() {double average; int num[50],i=0,above=0,below=0,count[10]={0},j,sum=0,k; coutRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.