Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 . Make a . NET Console App using C# in Visual Studio and name it as A 1 YourFirstnameLastname. 2 . Implement the wage
Make a NET Console App using C# in Visual Studio and name it as AYourFirstnameLastname.
Implement the wage calculator for employees which is capable of doing the following:
Add, edit, and delete employees.
View and search employees.
The application must be menubased app:
Add Employee
Edit Employee
Delete Employee
View Employees
Search Employee
Exit
When selecting Add, Edit or Delete Employee option from the above menu, display a submenu which asks which type of employee is being added, edited, or deleted.
For example, if user selects Add Employee, then display the following submenu:
Add Hourly Employee
Add Commission Employee
Add Salaried Employee
Add Salary Plus Commission Employee
Back to Main Menu
Page of
The menu should run continuously until the user quits the application.
Validate the inputs. Any invalid input should not crash the app.
Display userfriendly messages wherever necessary.
Always display the employee info in a tabular form.
Always display column headers when displaying employee info.
Format the numeric values with appropriate symbols, such as currency amount with $
symbol, commission rate with symbol.
NOTE: At no point should the application save any information to disk. All information is
stored and managed in memory using a generic collection. The use of collections and the
objectoriented design of the solution are an important part of the evaluation of your
submission.
Add Employee:
When adding a new employee, ask the user for all the required info and then save it
to the collection.
Then display a success message and print all the employees from that type of
employee category in a tabular form to verify that the new employee is added.
NOTE: When adding a new employee, do not ask for Employee ID rather generate a
new one. The Employee ID must be unique for every employee, just like a primary key
in database.
Edit Employee:
When editing an employee info, first display a list of all employees from the selected
category.
Then ask the user for the Employee ID of the employee that user wants to edit and
fetch that employee from the collection.
And ask the user for all the required info and then display a success message.
Print all the employees from that category in a tabular form to verify that the
employee is edited.
NOTE: Do not ask the user to edit the Employee ID It must be unique for every
employee and must not be edited.
Delete Employee:
When deleting an employee info, first display a list of all employees from the selected
category.
Then ask the user for the Employee ID of the employee that user wants to delete and
fetch that employee from the collection.
And remove the employee from the collection and then display a success message.
Print all the employees from that category in a tabular form to verify that the
employee is deleted.
Page of
View Employees:
Display all the employees in a tabular form.
Display column headers.
Format currency and percentage amounts with appropriate symbols.
Categorize the employees based on their employment type.
oCheck the sample output video to get an idea.
Search Employees:
Ask the user to enter the employees name and display all the employees that match
the search keyword.
Partial match must fetch the results.
Match should be caseinsensitive, meaning if user enters lowercase john and the
employees name is Johnwith uppercase J it must fetch the employee.
The employees belong to four different categories: hourly, commission based, fixed weekly
salary, and fixed weekly salary plus commission based.
Step 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