Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please write in java. please name the project as Project1 and please don't copy and paste the code since the other ones on chegg are
please write in java. please name the project as "Project1" and please don't copy and paste the code since the other ones on chegg are not correct! thank you
This project involves implementing a simple university personnel management program. The program contains two different kinds of objects: students and faculty. For each object, the program stores relevant information such as university ID, name, etc. Different information is stored depending on the type of the object. For example, a student has a GPA, while a faculty has a title and department (professor, mathematics). For each of any class data member, your program must include the getters and the setters, and each class must include at least two constructors. Student class has: - Full name - ID - Gra - Number of credit hours currently taken Faculty class has: - Full name - ID - Department (mathematics, engineering, arts and science) - Rank (professor, adjunct) Students in this college pay $236.45 per credit hour in addition to a $52 administrative fee. Your code should generate a tuition invoice ( a method within the class Student). Note that students get a 25% off total payment if their gpa is greater or equal to 3.85. The class Faculty must have the method that prints the faculty information Test your code with one faculty and two student objects. The sample run below should give you a clear idea 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. Welcome to my Personal Management Program Choose one of the options: 1- Enter the information of the faculty 2- Enter the information of the two students 3- Print tuition invoice 4- Print faculty information 5- Exit Program Enter your selection: 2 Enter student i info: Name of Student: Julia Alvarez ID: ju1254 Gra: 3.26 Credit hours: 7 Thanks! Enter student 2 info: Name of Student: Matt Jones ID: ma0258 Gra: 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- Exit Program Enter your selection: a Invalid entry- please try again 1. Enter the information of the faculty 2. Enter the information of the two students 3. Print tuition invoice 4. Print faculty information 5. Exit Program Enter your selection: 1 Enter faculty info: Name of the faculty: John Miller ID: jo7894 Rank: Instructor Sorry entered rank (Instructor) is invalid Rank: Professor Department: Engineering 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. Exit Program Enter your selection: 3 Here is the tuition invoice for Julia Alvarez : Julia Alvarez ju1254 Credit Hours:7 ($236.45/credit hour) Fees: $52 Total payment: $1,707.15 ($0 discount applied) - - - - - - - - 1. Enter the information of the faculty 2. Enter information of the two students 3. Print tuition invoice 4. Print faculty information 5. Exit Program Enter your selection: 3 Which student? 1 Julia Alvarez or 2 Matt Jones ? 2 Matt Jones ma 0258 Credit Hours:0 ($236.45/credit hour) Fees: $52 Total payment: $52.00 ($0 discount applied) - - - - - - - - - - - - - - - - - - - ---------------------------- -------------- 1. Enter the information of the faculty 2. Enter information of the two students 3. Print tuition invoice 4. Print faculty information 5. Exit Program Enter your selection: 2 You already have two 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 Gra: 4 Credit hours: 3 Thanks! Enter student 2 info: Name of Student: Komal Shah ID: ko0258 Gra: 3.1 Credit hours: 3 Thanks! 1. Enter the information of the faculty 2. Enter information of the two students 3. Print tuition invoice 4. Print faculty information 5. Exit Program Enter your selection: 4 -------------------------------------------------------------------------- John Miller Engineering Department, Professor 1. Enter the information of the faculty 2. Enter information of the two students 3. Print tuition invoice 4. Print faculty information 5. Exit Program Enter your selection: 5 GoodbyeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started