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.

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 7PE
icon
Related questions
Question

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

  1. Rent a Book
  2. Display information of currently Rented Books
  3. 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

  1. 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.

                                                                                      

Expert Solution
steps

Step by step

Solved in 3 steps with 6 images

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,