Question: 2. Create a student GPA average calculator. The program should prompt the user to enter up to 30 GPAs, which are stored in a single-dimension
2. Create a student GPA average calculator. The program should prompt the user to enter up to 30 GPAs, which are stored in a single-dimension array. Each time the user enters a GPA, he should have the option to calculate the current GPA average or enter another GPA. Sample data for this program is shown here: GPA: 3.5 GPA: 2.8 GPA: 3.0 GPA: 2.5 GPA: 4.0 GPA: 3.7 GPA Average: 3.25 Hint: Be careful not to calculate empty array elements into your student GPA average
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
