Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I want the solution in c++ please: Q1. Write a program that stores a set of books into a library. The program needs to input
I want the solution in c++ please:
Q1. Write a program that stores a set of books into a library. The program needs to input and keep track of all books. The book record include: book number, No, book name, Name. The program must use a Linked-Stack as an alternative data structure. Your output must be driven by a menu such as: MAIN MENUE 1. NEW BOOK 2. PRINT ALL BOOKS 3. EXIT Notes: 1. Stores a new book record into the stack. 2. Prints all books in the stack. 3. Exits the program. Q2. Write a program to store a set of employees' salaries. The program must use a Linked-Unsorted List as an alternative data structure. Your output must be driven by a menu such as: MAIN MENUE 1. NEW SALARY 2. SORT SALARIESS 3. PRINT SALARIESS 4. EXIT Notes: 1. Adds a new salary in the list. 2. Sorts the input salaries in ascending order. 3. Writes a recursive function to print all salaries recursivelyStep 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