Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

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

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Contemporary Issues In Database Design And Information Systems Development

Authors: Keng Siau

1st Edition

1599042894, 978-1599042893

More Books

Students also viewed these Databases questions

Question

=+ (b) Show that the condition is sufficient as well.

Answered: 1 week ago