Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Develop a menu driven C++ program to manage the College of Science Book Store. Your program should maintain three lists: one for books, another one
Develop a menu driven C++ program to manage the College of Science Book Store. Your program should maintain three lists: one for books, another one for students and a third one for the loans transactions. When your program starts it should read the books information, students information and loans information from three separate files "books.txt", "students.txt" and "loans.txt". An example format of these files is shown below. You need to: 1. Design and implement a Book class to encapsulate a book object. Each book has title, author, ID and number of copies. Assume book IDs are unique. 2. Design and implement a Student class to encapsulate a student object. Each student has name and ID. Assume student IDs are unique. 3. Design and implement a Loan class to encapsulate book loan transactions in the book store. A Loan object has the Book ID, the Student ID, and the semester when the book is borrowed (e.g. SP10)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started