Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(Statistics) a. Write a C++ program that reads a list of double-precision scores from the keyboard into an array named scores. It is assumed that

image text in transcribed

(Statistics) a. Write a C++ program that reads a list of double-precision scores from the keyboard into an array named scores. It is assumed that the user will enter no more than 35 scores. The scores are to be counted as they're read, and entry is to be terminated when a negative value has been entered. After all scores have been input, your program should find and display the sum and average of the scores. The scores should then be listed with an asterisk (*) placed in front of each score that is below the average. b. Extend the program written in Exercise 1a to display each score and its letter equivalent, using the following scale: Between 90 and 100 = A Greater than or equal to 80 and less than 90 = Greater than or equal to 70 and less than 80 = Greater than or equal to 60 and less than 70 = Less than 60 = F

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

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

Recommended Textbook for

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions

Question

what is a peer Group? Importance?

Answered: 1 week ago