Write a menu based system in C++ for “Library Book Record
System” that will take input from user for the following menu. You will create
a structure and perform the following operations on the structure.
Press 1 To Enter a Book Record.
Press 2 To Display all Records
of Books Available in Library.
Press 3 To Search Books by Author
Name.
Press 4 To Count Total Books in
Library.
Press 5 To Exit from the System.
*System will take
following inputs from user to enter a book record:
- Book ID
- Book Title
- Author of Book
- Cost of Book
Solution Instructions:
è Use
switch statement for the menu based system.
èYou can use user defined functions
for each of the task mentioned above to manage your code.
To Enter a Book Record
|
Add_Book();
|
To Display all Records of Books Available in Library
|
Display_Books();
|
To Search Books by Author Name
|
Book_Author();
|
Count Total Books in Library
|
Count_Books();
|
*Note:

Solution Output:
To get unique solution code of this assignment comment below or mail me at ad.hassan69@gmail.com
0 Comments