Create a library management application on the Command Line which will follow the following protocol.
User is first presented the following options:
MAIN:
Welcome to the GCIT Library Management System. Which category of a user are you
<take input>
Based on what the user selects, the following prompts will appear to fit his role:
LIBRARIAN
LIB1:
<take input>
For Option 1, Give a list of Library branches using the names or locations like this:
LIB2:
<take input>
The user will only pick the number in the above list and you should figure out which branch he is referring.
Based on the selection, the next list would be:
LIB3:
<take input>
Option 1 should update library_branch table for the branch he had picked before. This should be like:
You have chosen to update the Branch with Branch Id: X and Branch Name: ABCD. Enter ‘quit’ at any prompt to cancel operation.
Please enter new branch name or enter N/A for no change:
<take input>
Please enter new branch address or enter N/A for no change:
<take input>
Then update the values for this branch and say successfully updated. Then go back to menu LIB3, to start over again.
Option 2 should give further options like this:
Pick the Book you want to add copies of, to your branch:
<take input>
Existing number of copies: N (if none show zero)
Enter new number of copies:
<take input>
Then you should update the book_copies table with the new values. Then take the user back to LIB3.
BORROWER
Enter the your Card Number:
<take input>
Don’t let borrower to proceed until he gives valid card number.
BORR1:
Option 1 should show the following options
Pick the Branch you want to check out from:
Pick the Book you want to check out (make sure you only show books that have atleast one copy in BOOK_COPIES in the branch picked)
Then add entry into book_loans, date out should be today’s date, due date should be one week from today’s date.
Implement the return book functionality the same way as above
Also implement the following ADMINISTRATOR functions:
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of