Question: Write an algorithm that gets a decimal GPA, APA, and MPA from the user ( in that order ) . You may assume that all
Write an algorithm that gets a decimal GPA, APA, and MPA from the user in that order You may assume that all inputs are nonnegative whole numbers.
It then reports which meritorious list the cadet is on If the GPA is equal to or above the cadet is on the Deans List and if the APA is equal to or above the cadet is on the Athletic Directors List and if the MPA is equal to or above the cadet is on the Commandants List If a cadet does not achieve a in any category, your program should output No List". Finally, if the cadet qualifies for all three individual lists, then the cadet is on the Superintendents List The algorithm should report all the lists the cadet is on in the order defined above unless the cadet is on the Superintendents List, in which case, it should report only, Superintendents List
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
