Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a menu driven program in python that depicts the following library operations. There should be a book class with instance variables (price, author and

Write a menu driven program in python that depicts the following library operations. There should be a book class with instance variables (price, author and any other attributes which are suitable).The menu options should be: 1. Add book information 2. Display book information 3. List all books of given author 4. Return the sum, average, maximum and minimum of book prices stored in your file. 6. Exit Each menu should call separate function to perform an operation. For option 1, 2 and 3, you must use file handling.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions