Question: In C++ what is the correct implentation for the checkedoutby, returnBook, and outputBook function. The UML diagram is below. Descriptions of Notable Methods 1.checkOutBookThis method
In C++ what is the correct implentation for the checkedoutby, returnBook, and outputBook function. The UML diagram is below.
Descriptions of Notable Methods
1.checkOutBookThis method changes the status of the book to true and sets the checkedOutBy attribute to the name of the person that has checked out the book. This method should NOTupdate the status/checkedOutBy attributes if the book is already checked out. The method returns true if the book was successfully checked out and false if the book is already checked out.
2.returnBookThis method sets the status attribute to false and checkedOutBy attribute to the empty string (i.e., empty set of quotes). This method should return nothing.
3.outputBookThis method outputs the books information in the following format:

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
