Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 non-negative whole numbers.
It then reports which meritorious list the cadet is on. If the GPA is equal to or above 3.0, the cadet is on the Deans List, and if the APA is equal to or above 3.0, the cadet is on the Athletic Directors List, and if the MPA is equal to or above 3.0, the cadet is on the Commandants List. If a cadet does not achieve a 3.0 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Genetic Databases

Authors: Martin J. Bishop

1st Edition

0121016250, 978-0121016258

More Books

Students also viewed these Databases questions

Question

I need the answer as soon as possible Let f(x) = x {*-* 0

Answered: 1 week ago

Question

Briefly explain the advantages of 'Management by Objectives'

Answered: 1 week ago

Question

Explain the various methods of job evaluation

Answered: 1 week ago

Question

Differentiate Personnel Management and Human Resource Management

Answered: 1 week ago