Question: Write the function definition for getBookPrice. (Write the actual code for the function) Write the function definition for updateQuantity. (Write the actual code for the

 Write the function definition for getBookPrice. (Write the actual code for

Write the function definition for getBookPrice. (Write the actual code for the function) Write the function definition for updateQuantity. (Write the actual code for the function) You want to add two constructors to the above class. One is the default constructor and the other is a constructor that takes four parameters and sets the bookName, bookISBN, price, and quantity to the four parameters. Show the two function prototype lines that must be added to the class definition. (YOU DO NOT HAVE TO WRITE THE FULL CONSTRUCTOR DEFINITION) Assume the following in your main program (the constructors above have been written and added): bookType bestSeller ("The Help", "0399155341", 18.65, 0); i. Write the code in the main program that will print out the information about bestseller. ii. Write the code in the main program that will add 50 to the number of copies in stock for bestseller

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!