Question: Write a C++ program to create the following files: Book.h Book.cpp Author.h Author.cpp In Main.cpp create a list of books and write the following functions:

 Write a C++ program to create the following files: Book.h Book.cpp

Write a C++ program to create the following files: Book.h Book.cpp Author.h Author.cpp In Main.cpp create a list of books and write the following functions: 1. 2. Add new book to add a new book. Borrow book to barrow a book Note: Use the blow class diagram to solve the problem without making any changes. Book -title: string -borrowed: boolean -authors: Author[l +Book(title, authors) +get_title():string +is_borrowed(): boolean +set_title(title):voiod +set_authors(Authors):void +set borrowed(boolean):void Author -name: string -email: string +Author(name, email) +get_name():string set_name(name):void +set_email(email):void Write a C++ program to create the following files: Book.h Book.cpp Author.h Author.cpp In Main.cpp create a list of books and write the following functions: 1. 2. Add new book to add a new book. Borrow book to barrow a book Note: Use the blow class diagram to solve the problem without making any changes. Book -title: string -borrowed: boolean -authors: Author[l +Book(title, authors) +get_title():string +is_borrowed(): boolean +set_title(title):voiod +set_authors(Authors):void +set borrowed(boolean):void Author -name: string -email: string +Author(name, email) +get_name():string set_name(name):void +set_email(email):void

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!