Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ format please. Write a program that computes and displays the average test score, highest test score and lowest test score of a set of

C++ format please. Write a program that computes and displays the average test score, highest test score and lowest test score of a set of test scores entered by a user. For each student, a user should enter the students first name and a test score (float). A user should be able to enter any number of test scores (for example, a user may have 10 test scores, another user may have 100 test scores, and a third user may have 1000 test scores your program should be able to handle all of these cases). In addition to computing and displaying on the screen the average, highest, and lowest test scores, the program should write the students names and their test scores as well as the number of students in the class, and the average, highest, and lowest scores to an output file called test_Scores.txt.

For example, the output file could contain:

John 90

Ann 87

Martin 92.1

There are 3 students in this class.

The average test score is 89.7.

The highest test score is 92.1.

The lowest test score is 87.

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

Current Trends In Database Technology Edbt 2004 Workshops Edbt 2004 Workshops Phd Datax Pim P2panddb And Clustweb Heraklion Crete Greece March 2004 Revised Selected Papers Lncs 3268

Authors: Wolfgang Lindner ,Marco Mesiti ,Can Turker ,Yannis Tzitzikas ,Athena Vakali

2005th Edition

3540233059, 978-3540233053

More Books

Students also viewed these Databases questions

Question

2-5 How will MIS help my career?

Answered: 1 week ago

Question

3. Write a policy statement to address these issues.

Answered: 1 week ago