CS/ X Dashboar X Employee x C Employee x java code x Untitled x Employee%20System%20Project%20-%20Phase%201.pdf ATH... 1/4 - 75% + Employee Management System (EMS) Project This project will be assigned in multiple phases and will last until the end of the semester. Each subsequent phase will depend on previous assignment result, so you should make an effort to complete each phase on time and ensure that the program is functional before proceeding with the next phase. Phase 1 Write an employee management system in Java that allows users to add, search, and delete employees. It should store and display five data fields about each employee, which are: 1. Employee ID 2. Name 3. Department 4. Title 5. Salary Employee Fields Employee ID: o Employee ID should be a positive integer number. Employee ID should be unique in the EMS database (no two employees can have the same ID). You should not allow adding a new employee with an ID that already exists in the database. Employee Name: o Employee name can be any combinations of characters (any string). Employee Department: o Employee department can be any combinations of characters (any string). • Employee Title: o Employee title can be any combinations of characters (any string). Employee Salary: o Employee salary should be a positive floating-point number. The salary should always be displayed with two decimal digits after the decimal point and with three-digit separator (a comma) before the decimal digit. The program should display a menu with the following options: 1. Add an Employee If an employee with the same ID already exists, then do not allow adding a new one. Having two employees with the same ID is not allowed. All employee fields should be 44 75% + G H Create the database in the main method and pass it to any other method that needs to operate on the database. Recommended declaration for employee objects when adding new employees: Map employee new HashMap<0); = Your program will go through the following steps: a) Display a welcome message, b) Initialize an empty hash map in the memory, c) Create a loop, display the menu, and interact with the user (each menu option will call the appropriate method corresponding that menu option, d) Continue displaying the menu (c) until the user selects the "Exit" option, e) Display a departing message and exit. For features (menu options) that are not functional in Phase 1, display the following message: This feature is not implemented yet. Also make sure that your program declares, creates, and uses only one Scanner keyboard object. This is needed for HyperGrade. If you need to interact with the keyboard input in other methods, then pass the keyboard as a parameter to those methods..
CS/ X Dashboar X Employee x C Employee x java code x Untitled x Employee%20System%20Project%20-%20Phase%201.pdf ATH... 1/4 - 75% + Employee Management System (EMS) Project This project will be assigned in multiple phases and will last until the end of the semester. Each subsequent phase will depend on previous assignment result, so you should make an effort to complete each phase on time and ensure that the program is functional before proceeding with the next phase. Phase 1 Write an employee management system in Java that allows users to add, search, and delete employees. It should store and display five data fields about each employee, which are: 1. Employee ID 2. Name 3. Department 4. Title 5. Salary Employee Fields Employee ID: o Employee ID should be a positive integer number. Employee ID should be unique in the EMS database (no two employees can have the same ID). You should not allow adding a new employee with an ID that already exists in the database. Employee Name: o Employee name can be any combinations of characters (any string). Employee Department: o Employee department can be any combinations of characters (any string). • Employee Title: o Employee title can be any combinations of characters (any string). Employee Salary: o Employee salary should be a positive floating-point number. The salary should always be displayed with two decimal digits after the decimal point and with three-digit separator (a comma) before the decimal digit. The program should display a menu with the following options: 1. Add an Employee If an employee with the same ID already exists, then do not allow adding a new one. Having two employees with the same ID is not allowed. All employee fields should be 44 75% + G H Create the database in the main method and pass it to any other method that needs to operate on the database. Recommended declaration for employee objects when adding new employees: Map employee new HashMap<0); = Your program will go through the following steps: a) Display a welcome message, b) Initialize an empty hash map in the memory, c) Create a loop, display the menu, and interact with the user (each menu option will call the appropriate method corresponding that menu option, d) Continue displaying the menu (c) until the user selects the "Exit" option, e) Display a departing message and exit. For features (menu options) that are not functional in Phase 1, display the following message: This feature is not implemented yet. Also make sure that your program declares, creates, and uses only one Scanner keyboard object. This is needed for HyperGrade. If you need to interact with the keyboard input in other methods, then pass the keyboard as a parameter to those methods..
Related questions
Question
I need to build the program using Java. When displaying all employees after user input option 6, the output must be in the order of Employee ID, Name, Department, Title, and salary
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images