Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ programming Functions Programming I Review Write a C++ program to manage a library system, the system will show the menu continuously, until the user

C++ programming
Functions
image text in transcribed
image text in transcribed
image text in transcribed
Programming I Review Write a C++ program to manage a library system, the system will show the menu continuously, until the user selects option f. The system should have the following functions: Note: Use vector only to define a list of books. 1. book_menu: This function will display the following menu: UALR Library a. Add book b. Search book C. Delete book d. Borrow book e. Exit Enter your choice: 2. add_book: The is function uses to add a book to the available list of books in the system. This function will be called when the uses selects a. Sample of the output: Enter Your choice: a Enter Book's Title: Computer Security Enter Book's Author: Sara Smith Enter Book's ISBN: 1234567891234 Book Added to the system! 3. search book: This function uses to search for a specific book title. This function will be called when the uses selects b. 3. search_book: This function uses to search for a specific book title. This function will be called when the uses selects b. Sample of output: Enter Your choice: Enter Book Title for Searching: Computer Matching Books: Computer Security 1 Result(s) Sample of output: Enter Your choice: Enter Book Title for Searching: System O Result(s) 4. delete_book: This function uses to delete a specific book forma book list. This function will be called when the uses selects Sample of output: Enter Your choice Enter Book Title for Deleting Computer Security Book Computer Security is Deleted! Sample of output: Enter Your choice Enter Book Title for Deleting Computer Organization Book Computer Organization is Not Available 2/2 Enter Book Title for searching: Computer Matching Books Computer Security 1 Result(s) Sample of output: Enter Your choice: Enter Book Title for Searching: System O Result(s) 4. delete_book: This function uses to delete a specific book forma booklist. This function will be called when the uses selects Sample of output: Enter your choice Enter Book Title for Deleting Computer Security Book Computer Security is Deleted! Sample of output: Enter Your choice Enter Book Title for Deleting Computer Organization Book Computer Organization is Not Available! 5. borrow book: This function uses to borrow a book. This function beadwhen the sects Sample of output: Enter your choice Enter Book Title for Borrowing Computer Security Book Com Security is Borrowed successfully

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions

Question

Explain the causes of indiscipline.

Answered: 1 week ago