Question
Use an array (not in vectors we didn't learn that yet, just use regular arrays) to solve question 1. The code must be in C++
Use an array (not in vectors we didn't learn that yet, just use regular arrays) to solve question 1. The code must be in C++
1a. Write a program to help me compute the average score on the quiz. Your program should prompt me to enter scores until Im done (when Im done Ill enter -1). Then your program should print out the average. 1b. Build error handling into your code from 1a. If I enter a number that isnt a valid score (the max possible is 30) or -1, reject the input and prompt me again for input. (Note: since you need to turn in both 1a and 1b, it would be easiest to start a new project and copy over your code from 1a) 1c. Modify your program from 1b so that, after Im done entering scores, in addition to the average, it also prints out the highest and lowest scores in the class. (Note: It would be easiest to start a new project and copy over your code from 1b)
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