Question: You are asked to design and write a JAVA Program that determines if a teacher is eligible for promotion. To be eligible for promotion, teachers

You are asked to design and write a JAVA Program that determines if a teacher is eligible for promotion. To be eligible for promotion, teachers at Franzia College must have taught in the teaching field for at least 5 years. In addition to the number of year in the teaching field, teachers must meet the requirements shown below to move from their current rank to the next rank: (Only four ranks exist at Franzia College.) Rank Requirements Instructor Bachelors degree in teaching field Assistant Professor Current rank = Instructor and Masters degree in teaching field Associate Professor Current rank = Assistant Professor, Masters degree in teaching field, plus 30 credit hours in Teaching field Full Professor Current rank = Associate Professor and Doctorate degree In addition, no teacher is eligible for promotion if he/she has not served at least three years in his/her current rank. The rank below Assistant Professor is Instructor. Teachers can only move up one rank at a time. The input record contains: Name Department Name Years in Teaching Field Type of Degree in teaching field (B, M or D) B = Bachelors M = Masters D = Doctorate Credit Hours in Teaching Field Years in Current Rank Current Rank (I, AS, AC, or FP) I = Instructor AS = Assistant Professor AC = Associate Professor FP = Full Professor The output will consist of: Total teachers eligible for Assistant Professor rank Total teachers eligible for Associate Professor rank Total teachers eligible for Full Professor rank Total teachers not eligible for promotion Average number of years in current rank of teachers not eligible for promotion Write the program to process any number of teachers. Validate the input for the years in teaching field, credit hours in teaching field and years in current rank (values must be greater than 0). Validate the input for the type of degree (must be B, M or D) and validate the input for the current rank (must be I, AS, AC or FP) MUST HAVE THE CORRECT LOOP!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!