Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In java please! In java only using methods and no objects please! Project 1 statement This project involves implementing a simple university personnel management program.

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
In java please!
In java only using methods and no objects please!
Project 1 statement This project involves implementing a simple university personnel management program. The program stores relevant information such as university ID, name, etc. Different information is stored depending on the type of the person (Student Faculty or Staff). For example, a student has a GPA, a faculty has a title and department (professor, mathematics), and a staff has a department where the staff works. For a student, we need a: full name id epa Number of credit hours currently taken m For a student, we need a: full name id gpa Number of credit hours currently taken For a faculty, we need a: full name id department (mathematics, engineering or english) Rank (professor or adjunct) For a staff, we need a For a statt, we need a: - full name Id department (mathematics, engineering or english) status (part time or full time) Students in this university pay $236.45 per credit hour In addition to a $52 administrative fee. Your code should generate a tuition Invoice (a method within the main class). Note that students get a 15% off total payment if their gpa is greater or equal to 3.85. Test your code with one faculty, two students and one staff member. The sample run below should give you a clear ides about how your code should run. The user's entry in marked in bold so you can tell what your code should display to the screen and what the user enters. Please note well that: 1) Your code should run exactly as shown on the sample run below (However, the TA will not deduct points because you skipped two lines instead of three or your tuition invoice has 56 hyphens instead of 63!). TJ o H slipped two lines instead of three or your tuition involce has 56 lyphens instead of 63). 2) When asked to enter the enter the faulty department, mathematics and Mathematics are considered to be the same and your program should display mathematics if faculty information is to be displayed to the screen, However, if the user enters Mathematics department, then this is an Invalid entry. There are three departments: Mathematics, Engineering and Sciences. 3) The university ID has no required form so you may choose to enter anything to be the ID. Your project should demonstrate the use of Methods. Consequently, we expect that your code looks like: C Sample Run (Below is how your code should run) Welcome to my Dronel Management Program Choose one of the options: 1- Enter the incomision of the faculty 2- Enter the information of the two students 3- Peint tusion invoice 4- Peint feculty Internation G-Enter the information of the state member 6- Print the information of the state member 7-El Progres Enter your selection: 2 Enter student 1 Info: Name of Student: Julia Alvares ID: 1254 Gpa: 3.26 Credit hours: 7 Thanks! Enter student 2 info: Name of Student: Matt Jones revious ( O ID: 250 Opa: 2.78 Credit hours: 0 Thanks! 1- Enter the information of the faculty 2- Enter the information of the two students 3- Print tuition invoice 4- Print faculty information 5- Enter the information of the staff member 6- Print the information of the staff member 7- Exit Program Enter your selection: A Invalid entry please try again Previous O - Peint tinculty atacation - the clan of the after - Print the information at the staff member Dog your onlinction: Tould try please ty in 1. Enter the information of the faculty 2. Enter the information of the two students 3. Print tuition invoice 4. Print faculty information 5. Enter the information of the staff member 6. Print the information of the staff member 7. Kit Program Enter your selection: 1 Enter Eaculty info: Name of the faculty: John Miller Previous O Elci1 Kremy info: of the faculty: John Miller ID: 107894 Rank: Instructor "Instructor is invalid Rank: Assistant Professor "Assistant Professor" is invalid Rank: Professor Department: Engineering Previous ORA Diving Tuulty .ccully addad! 1. Enter the information of the faculty 2. Enter the information of the two students 3. Print tation invoice 4. Peine faculty information 5. Enter the information of the staff member 6. Pring the Internation of the staff member 7. Exit Program Enter your selection: 3 Which student ? Enter 1 for Julia Alvarez or Entez 2 Matt Janes ? 1 Here is the tuition invoice for Julia Alvarez : Previous o Ju1254 Credit:7 (5236.45/credit hour) Te 52 Total pumant tatuar discount): -1,707.15 (80 discount applied! 1. Enter the information of the faculty 2. Enter Information of the the students 3. Print tuition Invoice 4. Print Faculty Information 3. Enter the information of the staf! member 6. Print the information of the state member 7. Exit Program Enter your selection: 3 revious LJ 6. Pinta on of the att 4. Du Poco Enter your selections which staan? 1 Jalta Mars or 2 MATE Jonas 7 2 Matt Jones ma0258 Credit Hours:0 (5236.45/credit hour) Fees: $52 Total payment after discount): $52.00 (80 discount applied) revious O Crocs 236.65/credit hour Tosal pay atter discount) : 452.00 (10 discount applied) 1. Enter the information of the faculty 2. Enter information of the two students 3. Drint tuition invoice 4. Dins Caculty Information 5. Enter the information of the state member 6. Print the information of the state member 7. Exit Program Enter your selection: 2 You already have to students filled in. Do you want to update their information? Yes or No: Yes Enter student i info: Name of Student: Erick Smart ID: er1254 Opa: 4 Credit hours: 3 Thanks! evious o Nama Sets Shah : kon250 3.1 Credit bouen: 3 1. Enter the information of the faculty 2. Enter infortion of the two students 3. Print tuition invoice 4. Print Caculty information 5. Enter the information of the staff member 6. Drint the information of the start mumber 7. Eit Program Enter your selection: 4 John Miller 307894 Engineering Department, Professor vious o 1. We the information of the texty 2. te nation of the students 3. En tuition in 4. Det telty intention 5. Mater the intention of the state mer 6. Din the intention of the stact me 7. Kit Program Enter your selection: 6 Sorry! No Staff member entered yet 1. Enter the information of the faculty 2. Enter information of the the students 3. Print tuition invoice OUS of 1. Enter the information of the faculty 2. Enter Incorsion of the two students 3. Dint tuition invoice 4. Drint faculty information 5. Enter the intention of the statt member 6. Print the information of the staff member 7. Edit Program Enter your selection: 3 Name of the staff member: Jamal Karee Enter the id: 9a6980 Department: Sciences Status, Enter P for Part Time or Enter T for Tall Time: Staff member added! 1. Enter the information of the faculty 2. Enter information of the two students 3. Prins tuition invoice 4. Print faculty information O RH Scat be added 1. Enter the information of the faculty 2. Enter Information of the two students 3. Print tuition invoice 1. Print faculty Information 5. Enter the information of the staff member 6. Print the information of the staff member 7. Exit Program Enter your selection: 6 LJ O Jumal Kareem a6980 Seinnces Department, Pull Time 1. Enter the information of the faculty 2. Enter information of the two students 3. Print tuition invoice 4. Print faculty information 5. Enter the information of the staft member 6. Print the information of the staff member 7. Exit Program Enter your selection: 7 Goodbye o

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

Students also viewed these Databases questions

Question

How is a conversion worksheet used? Why is it necessary?

Answered: 1 week ago

Question

HOW the User intends to use the system or product.

Answered: 1 week ago

Question

What do you think of the MBO program developed by Drucker?

Answered: 1 week ago