Question: Write a C++ program Lab 4 - Centering Lab 1. Write an application that will calculate and display a students grade point average. First, input
Write a C++ program
Lab 4 - Centering Lab 1. Write an application that will calculate and display a students grade point average. First, input the students first and last name (at the same time). Next, input the number of total credit hours (int) and the number of total grade points (as an int). Calculate the grade point average and then display everything back to the screen. The GPA should be displayed to 2 decimal points. The output should be centered and look similar to this: Student Name Goes Here Total Credit Hours: 20 Total Grade Points: 60.00 Overall GPA: 3.00 Here is the pseudocode: BEGIN Display GPA Report Input student name (first and last) Input total credit hours Input total grade points Clear the screen Calc GPA Calc number of leading spaces needed to center the name Display GPA Report END Display GPA Report
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
