Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ 3. Write a program that computes the average test score over an unspecified number of tests as follows: (1) Ask the user to enter

image text in transcribedc++

3. Write a program that computes the average test score over an unspecified number of tests as follows: (1) Ask the user to enter numeric grades; (2) as long as there are more grades, add them to the total; (3) use a counter variable to track the number of grades entered by the user; (4) stop when the user enters a negative score; (5) output the average grade for the class. Enter a numeric grade: > 78 Enter a numeric grade: > 89 Enter a numeric grade: > 77 Enter a numeric grade: > 90 Enter a numeric grade: > 97 Enter a numeric grade: > 92 Enter a numeric grade: > -1 The average grade is 87.1667

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

Database Design Application Development And Administration

Authors: Mannino Michael

5th Edition

0983332401, 978-0983332404

More Books

Students also viewed these Databases questions

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago