Question: I need #5 done i cant seem to understand it. it must be written in c++ 4. Numeric Processing Write a program that opens the

I need #5 done i cant seem to understand it. it must be written in c++

I need #5 done i cant seem to understand it. it mustbe written in c++ 4. Numeric Processing Write a program that opens

4. Numeric Processing Write a program that opens the file "random.txt", reads all the numbers from the file, and calculates and displays the following: a. The number of numbers in the file. b. The sum of all the numbers in the file (a running total) c. The average of all the numbers in the file numFile.cpp Notes: Display the average of the numbers showing 3decimal places 5. Download the file gradeBook.txt available through D21. The file contains an unknown number of students. Information for each student is displayed in two lines: The first line indicates the name of the student whitespaces are allowed. The second line shows the student's grade in a class. Write a program that prompts the user for the name of the file and displays a nicely formatted report showing: a. Student with the highest grade in the class Name and grade b. Student with the lowest grade in the class Name and grade c. Average grade in the class gradeBook.cpp

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!