Question: C++ fun assignment ASSIGNMENT 2B Write a program YourName-Assignment2B (replace [YourName] with your actual name, no spaces) that reads from a file (with variable number

C++ fun assignmentC++ fun assignment ASSIGNMENT 2B Write a program YourName-Assignment2B (replace [YourName] with

ASSIGNMENT 2B Write a program YourName-Assignment2B (replace [YourName] with your actual name, no spaces) that reads from a file (with variable number of records) student names and the grades for 2 tests (the points are floating- point numbers between 0 and 100) (format: Name for each student the overall total points for all tests (column Total Points) 1, the numeric grade (column Numeric Grade)2 (between 0 and 100) and the letter grade (column Letter Grade)3. The program should also compute and output the number of students (row Number), and average numeric grade (row Average) among all students and displays them with 2 decimals. Display the output in the exact format shown below (use 2 decimals for floating-point numbers and the columns and alignment suggested bellow) Sample input data file: Testl Test2) and determines and outputs Sample console output: STUDENT STATISTICS Total Points 171.25 165.00 135.00 180.00 180.0 145.50 189.00 95.00 120.75 105.00 Numeric Grade 85.63 82.50 67.50 90.00 90.00 72.75 94.50 47.50 60.38 52.50 Letter Grade Name Anderson Blake Castillo Dang Engberg 80.75 90 80 85 100 90.5 90 60 60 40 Anderson Blake Castillo 90.5 75 95 80 Engberg Fu Garcia Hung Iona Johnson Garcia Hung Iona Johnson CLASS STATISTICS 35 60.75 65 Number: Average: Minimum: Maximum: 10 74.33 47.50 94.50 Your program should work on the Grades.txt (from the assignment - do NOT change the name of the file or edit the file) and any other files that have the correct format, thus, do not hardcode the output or the number of students For 10 extra credit points, compute the minimum and maximum of the numeric grades and output them the CLASS STATISTICS table In addition to the complete CPP code (YourNamel-Assignment2B.cpp), you should submit a screenshot Word document (YourNamel-Assignment2B.docx) that contains screenshots of your full C++ code (take multiple screenshots if the code is larger than one screen), and the full console output (take multiple screenshots if the output is larger than one window)

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!