Question: Please answer in c++ CSE 1321L: Programming and Problem Solving I Lab Lab 7 Single-Dimensional Arrays Yes, your Honor! Graduating with a high GPA is
Please answer in c++
CSE 1321L: Programming and Problem Solving I Lab Lab 7 Single-Dimensional Arrays
Yes, your Honor! Graduating with a high GPA is a big achievement, but can be really difficult to do! You can learn all about graduation requirements at https://commencement.kennesaw.edu/information-candidates/graduating-honors.php . For this part of the lab, you will design a program that asks the user for the number of GPAs to enter. The program will then prompt the user to enter the specified number of GPAs. The program will print out the graduation standing of the students based on their GPAs. Honors GPA requirements are listed below: - Summa C um Laude (3.90 - 4.00) - Magna C um Laude (3.70 - 3.89) - C um Laude (3.50 - 3.69) Students with a GPA below 2.0 are Not Graduating and students with a GPA of 3.499 to 2.0 are Graduating. The sample output is shown below. User input is denoted in bold.
Sample #1: Enter the number of GPAs: 5 GPA #0: 3.97 GPA #1: 3.5 GPA #2: 3.499 GPA #3: 3.71 GPA #4: 1.9 Student #0: Summa C um Laude Student #1: C um Laude Student #2: Graduating Student #3: Magna C um Laude Student #4: Not graduating
Sample #2: Enter the number of GPAs: 7 GPA #0: 0.03 GPA #1: 4.0 GPA #2: 3.32 GPA #3: 2.81 GPA #4: 3.75 GPA #5: 3.85 GPA #6: 2.3 Student #0: Not graduating Student #1: Summa C um Laude Student #2: Graduating Student #3: Graduating Student #4: Magna C um Laude Student #5: Magna C um Laude Student #6: Graduating
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
