Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c++ Write a modular program that analyzes the exam score of Program Design A. (1) In addition to the main function, the program should design
c++
Write a modular program that analyzes the exam score of Program Design A. (1) In addition to the main function, the program should design a ReadData(.....) function to get the exam scores of all 20 students from a file called "scores.txt". (2) After having got these data, the program then displays all these data on screen (3) Design the function void ScoreAnalysis(.....) that finds out the average score, the max, and the minimum scores. By calling this function, the main should these results on the screen Program Execution would be like the following: ===Exam Analysis of PD 2020 73 85 46 76 60 82 65 66 60 85 87 83 49 90 95 57 65 61 96 90 Average score : 73.55 Maximum score : 96 Mininum score: 46 use Define a function called show_array that displays the contents in the array on the terminal window. window. You then this function to display the contents of the array you created in the previous task by passing it to the function
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started