Question: Serendipity 8: Completely the BookData Class Functions For this chapter's exercise you will complete the BookData class member functions and define an array of BookData

Serendipity 8: Completely the BookData Class Functions

Serendipity 8: Completely the BookData Class Functions For this chapter's exercise youwill complete the BookData class member functions and define an array of

For this chapter's exercise you will complete the BookData class member functions and define an array of BookData objects. 1. Complete the BookData Member Functions. Complete the class's member functions according to the following specifications he function should accept a string object (assumed to hold the book title) as an argument. The contents of the string object should be copied to the bookTitle member. setTitle The function should accept a string object (assumed to hold the ISBN number) as an argument. The contents of the string object should be copied to the isbn member. setIsbn he function should accept a string object (assumed to hold the author's name) as an argument. The contents of the string object should be copied to the author member. setAuthor setPub he function should accept a string object (assumed to hold the name of the ook's publisher) as an argument. The contents of the string object should be copied to the publisher member. The function should accept a string object (assumed to hold the date) as an argument. The contents of the string object should be copied to the dateAddded member. setDateAdded he function should accept an int (assumed to hold the quantity of the boo as an argument. The contents of the argument should be copied to the gtyOnHand member. setQty The function should accept a double (assumed to hold the wholesale price of the book) as an argument. The contents of the argument should be copied to the wholesale member setWholesale

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!