Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions

Question

4. Why is it that correlations do not imply causation?

Answered: 1 week ago

Question

Required: Prepare a classified balance sheet

Answered: 1 week ago