subject

Suppose that a text file Exercise13_3.txt contains an unspecified number of scores. Write a c++ program that reads the scores from the file and display their total and average. Scores are seperated by blanks.

Instead of displaying the results on the screen, send the results to an output named using your last name.

In addition to finding the average and total, find the number of grades.

Input

Example: Contents of Exercise13_3.txt:

70 88 91 95

66 82 71 99 84 57

80 100 93 73 82

Output

Contents of YourLastName. txt:

Your first and last name

Number of grades = 16

Total of all grades = 1231

Average grade = 82.1

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
What is used to analyze and summarize your data without graphical support
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Which best compares appointments and events in outlook 2010appointments have a subject man, and events do notappointments have a specific date or range of dates, and events do notappointments have a start and end time of day, and events do notappointments have a location option, and events do not
Answers: 2
question
Computers and Technology, 24.06.2019 01:10
Create a program that will take in a single x and y coordinate as the origin. after the input is provided, the output should be all of the coordinates (all 26 coordinates read from the “coordinates.json” file), in order of closest-to-farthest from the origin.
Answers: 1
question
Computers and Technology, 24.06.2019 03:30
It is not necessary to develop strategies to separate good information and bad information on the internet. true or false
Answers: 1
You know the right answer?
Suppose that a text file Exercise13_3.txt contains an unspecified number of scores. Write a c++ prog...
Questions
question
Mathematics, 24.11.2019 17:31
question
Mathematics, 24.11.2019 17:31
question
Mathematics, 24.11.2019 17:31
Questions on the website: 13722363