BOOKS Management System
There is Shop named Pakistan Book shop. We need to make a system for this book shop to manage books. We need to create a software that will contain multiple features to handle books management very well. Book shop have 100 books for customers. The shop gives book on rent and charge per day according to the type of a book.
Write a main function that will display the following Menu options
- Rent a Book
- Display information of currently Rented Books
- Exit the program (if user selects this option)
Create Structure to store the following data for each book I.e (for 100 books)
h book I.e (for 100 books)
- Book Id
- Book name
- Customer name
- Type of book (Novel, Academic, Philosophy, Islamic)
- No of days
- Status of Book (free, rented)
Create a Structure array of Books for 100 Books data
FEATURES OF THE PROGRAM
Rent a Book
If a user select this option the system must check book is available or not (You have to think how you will check this) if book is available then it should display the rate table, the format is shown bellow.
Room charges
Book Type rate
Novel 2000 per day
Academic 1500 per day
Philosophy 2000 per day
Islamic 1000 per day
Together the system need to take and store all the information such as Book Id, Book name, Customer name, Type of book (Novel, Academic, Philosophy, Islamic), No of days. Once the information is entered the program should display the thank you message and the program should set status to rented and should move to the main menu again unless user enters exit. If the book is not available system should show sorry message and terminate the program
2 Display Information of currently rented books
If user selects this option the program should check the total number of books rented as well show information of all the rented books of the book shop. Program should also count the total number of novel rented and show all of their information on the screen. (How will you check and do all this work you have to think) then move to main menu until user exits
3 Exit the program
If user selects this the program should terminate or exit (close the program). How will you do that think for it.