You have to create a system for library management in c++ using oop concepts. You can have different types of users of this system, including staff, student and visitor. Each user will have an account affiliated with them. The library system will have Books in it as well, which can be added, removed or lent based on the request from the user. The issuing authority can only be Librarian (separate class). Books can have further various categories, like Computer Books, History Books, Basic Science Books and more. All users when issuing the books, must pay a specific amount of fare per book. Students are given 20% discount on each book while each staff member is given 50% discount. Visitors are to pay complete fare
You have to create a system for library management in c++ using oop concepts. You can have different types of users of this system, including staff, student and visitor. Each user will have an account affiliated with them. The library system will have Books in it as well, which can be added, removed or lent based on the request from the user. The issuing authority can only be Librarian (separate class). Books can have further various categories, like Computer Books, History Books, Basic Science Books and more. All users when issuing the books, must pay a specific amount of fare per book. Students are given 20% discount on each book while each staff member is given 50% discount. Visitors are to pay complete fare
1. You are required to code this scenario in Java and using Aggregation, Inheritance, Polymorphism, Overriding and Overloading where applicable (carefully)
2. You are required to make a class diagram of the given scenario, with proper data members and methods, using https://app.diagrams.net/
Step by step
Solved in 7 steps with 7 images