Question
c++ This assignment will use our person class. The application will create and manage a linked list of person objects. In this application only the
c++
This assignment will use our person class. The application will create and manage a linked list of person objects. In this application only the last name, first name, and identification number will be used (we will use the zip code for the ID number).
Your main() should display the following menu:
MENU 1. add a person to the list
2. delete a person from the list
3. change a persons information
4. locate a person by ID number
5. locate a person by last name
6. print the list on the screen
7. load the list from a file
8. save the list to a file
9. exit the program
Enter your selection:
You should write functions to implement the menu options. In some cases, you may wish to implement the menu options within main(), such as file I/O. In the case of menu item 3, the only information that would ordinarily be changed would be a woman's last name if she were married or divorced, but the code should also allow for a first name change as well, but not the ID number. The menu option 6 should simply print the list in whatever order the list items are in.
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