Question: You will need to read the data from a file named gradebook.txt . ( A sample has been provided in the starter code. ) The

You will need to read the data from a file named gradebook.txt.(A sample has been provided in the starter code.) The file will contain 5 lines of information. Each line will have a student id, student first name, student last name, percent earned, and letter grade. You will need to read the data into variables of the appropriate data type. You will then print the data in the console using manipulators to format the data into a table. The decimal numbers should be formatted to 3 decimal places, and the percent should be displayed with a % sign in the output. Remember that the file provided is just a sample and your code will be tested using files that contain different student and grade information. You can set up your own test by replacing information in the sample file with new data. Your code should always display what is in the file in the proper format.
Sample Output
 You will need to read the data from a file named

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!