The library uses a library management system (LMS) through which 10 books can be issued to its employees per day. To keep track of each book, there is a function that gets the details such as title, faculty name, date of borrowing, and the duration required. The issue) function determines whether the books requested should be granted or not based on the value (cost), year of publication, and the number of books being requested if the book costs more than Rs 1000 or is published in the current year, or if the book count is one, then the book is to be issued for no more than two days. Also, the LMS keeps track of the top 5 books in the library to determine which book is more valuable than another. Your task is to create a LMS based on the above scenario by creating
The library uses a library management system (LMS) through which 10 books can be issued to its employees per day. To keep track of each book, there is a function that gets the details such as title, faculty name, date of borrowing, and the duration required. The issue) function determines whether the books requested should be granted or not based on the value (cost), year of publication, and the number of books being requested if the book costs more than Rs 1000 or is published in the current year, or if the book count is one, then the book is to be issued for no more than two days. Also, the LMS keeps track of the top 5 books in the library to determine which book is more valuable than another. Your task is to create a LMS based on the above scenario by creating a structure and implementing the functions required (Not Use pointers to the defined structure).
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 4 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)