Question
I need this code for c++ and this can be done by using structs. Each member in the list will have the following information: 1.
I need this code for c++ and this can be done by using structs.
Each member in the list will have the following information:
1. Employee Number
2. First name
3. Last Name
4. Age
This program will have the following functions:
1. Display employees
List all employees in the list using the following format. (5 points)
e.g.
ID: 101
Name: First & Last
Age: 25
There should be a blank line between each employee record.
2. Add Employees
Add new employees to the list (10 points)
3. Change Employee info
Edit and change employee information in the list (15 points)
a. User must specify the Employee number
b. Produce a meaningful message if the employee number is not in the list
4. All numeric input must be validated (5 Points). a. Employee IDs start at 101
b. Age >= 16
5. Delete Employees (10 points):
Find and remove an employee from the list:
a. User must specify the Employee number to remove
b. Produce a meaningful message if the employee number is not in the list
6. Count employees (5 Points):
This function will count the number of employees in the employee list and display the following message: The employee list has 4 entries.
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