Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USE AN ARRAY (NOT IN VECTORS WE DIDNT LEARN THAT YET, JUST USE REGULAR ARRAYS) TO SOLVE QUESTION 1. THE CODE MUST BE IN C++

USE AN ARRAY (NOT IN VECTORS WE DIDNT 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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions