Question: Write a C++ program to store 10 student names and grade point averages (GPAs) from the user. Display all student information in a tabular format.

Write a C++ program to store 10 student names and grade point averages (GPAs) from the user. Display all student information in a tabular format. Ensure that each column heading aligns correctly with its respective column and that each name (first and last) is capitalized. Finally, display each GPA with two significant decimals. For this assignment, you may download this sample code for reference. Sample inputs and outputs are as follows:

Sample Input (for only 3 students)

Smith, Tom 4.0
Jones, Bob 5.555
Washington, George 3.00

Sample Output (using input above)

Name (Last, First) GPA
Smith, Tom 4.00
Jones, Bob 5.56
Washington, George 3.00

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!