You want to organize the various bookshelves in your room. Your room currently contains 2 bookshelves, but you are considering purchasing several more in the near future. Each bookshelf is positioned along one of the four walls in the room, and a maximum of two bookshelves can be placed along any one wall. You’re kind of quirky, and you name each of your bookshelves. On each bookshelf are several items ;items are either books or toys. Toys have a name, manufacturer’s name and a purchase date. Books have a title, author and publication date. Your bookshelf organization system needs to do the following things:
Place bookshelves along the various walls in the room , respecting the max of two bookshelves per wall.
Add items to and from each bookshelf.
Print out the contents of the entire room, or a single bookshelf.
For a printout of the room , you must print out the name of each bookshelf, which wall it is on and a description of each item on it.
For printing out details of a single bookshelf , you need to print all of the above information but only for a single bookshelf.
For item details, print out the Name of the book or toy and the manufacturer’s name in the case of a toy or the Author’s name in case of a book.
Partager