Question: Build an application to store information for books using object-oriented programming (OOP). Follow the attached UML diagram and also include the helper functions listed below.

Build an application to store information for books using object-oriented programming (OOP). Follow the attached UML diagram and also include the helper functions listed below. Create separate files for client, specification, and implementation code. Demonstrate your class in the main function using the helper function listed below. Use getline function for title and author

Helper Functions:

void CreateBook( Book &objBook ); // Prompt the user for the title, author, ISBN, and quantity, and assign the user's input to the object using mutator functions

void DisplayBook( Book &objBook ); // displays the data stored in the book object passed by reference using accessor functions.

Submit three files: Source.cpp, Book.cpp, and Book.h

Build an application to store information for books using object-oriented programming (OOP).

Book title:string author:string isbn:string quantity integer + Book() + Book(t: string, a : string, i : string, q : integer) +setTitle( t: string): void + setAuthor( a : string) void +setlSBN( i : string) void + setQuantity(q: integer): void +getTitle(): string +getAuthor(): string + getISBN(): string + getQuantity(): integer

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!