1. The below information is taken directly from the Academic Dean's Homepage describing criteria for the Superintendent's List and the Dean's List (slightly modified for clarity).
Superintendent's List. Midshipmen who meet the following criteria will be placed on the Superintendent's List
SQPR of at least 3.4 withno grade of D, F, or I in any course,A in Conduct,A in Military Performance, andA or B in Physical Education and A or B on Physical Readiness Test.
Dean's List. Midshipmen who meet the following criteria and are not on the Superintendent's List will be placed on the Dean's List:SQPR of at least 3.4 withno grade of D, F, or I in any course,B (or better) in Conduct,B (or better) in Military Performance, andC or better in Physical Education and C or better on Physical Readiness Test..
Assume the MIDS database can produce the following record:
(Name SQPR flag conduct
PRT) MP PE
Name: last name of midshipman
Sqpr: students quality point ratio
Flag: contains a 1 if midshipman has a D, F, or I in any course. Contains 0 otherwise.
Conduct: holds a character 'A' thru 'F' (excluding 'E') for conduct grade.
MP: Military performance (same as conduct)
PE: physical education (same as conduct)
PRT: physical readiness test (same as conduct)
Write a program that will query the user to type a record in the prescribed
format and produce exactly one of "
List", and "
(not qualified)" based on the criteria described on the
Dean's webpage. Here's some examples:
Turn in a copy of your source code and screen captures for the execution of all three sample inputs.