Program that defines at least two classes: Book and Library

Write a program that defines at least two classes: Book and Library. The program should allow users to add books to the library, see a list of all books in the library, remove books from the library, edit books in the library, find the price of a book in the library, find the average price of the books in the library.

Write a program that defines a class LightBulb and a class Apartment. A light bulb is defined by the number of Watts and an on/off switch. The class apartment is defined by a name and a list of LightBulb. Write an ApartmentClient that creates a couple of apartments, prints them and indicates “the apartment is dark” if all light bulbs in the apartment are off, or “there is light in the apartment” if at least one light bulb is on in the apartment.