Question
3. Your task is to create a library manager as a menu driven console application. The system should have the following functionalities in their menu:
3. Your task is to create a library manager as a menu driven console application. The system should have the following functionalities in their menu: i. Add books ii. Remove books iii. Add membership iv. Remove membership v. Rent book vi. List books vii. List members viii. Exit You need to create separate files to store information of books, members, book rentals. When the system starts, it should import all contents of the file into the system, if the files are not empty. All-important fields should be checked for empty or incorrect format. Example, name, DOB, etc. should not be empty. Phone numbers should be standard format, etc. In addition to this, you may add any other related functionality as well. Create appropriate functions for the functionalities.
Also Please explain each line of code.
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