Design a class named book that holds a stock number author


Problem

Complete the following tasks:

a. Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include methods to set and get the values for each data field. Create the class diagram and write the pseudocode that defines the class.

b. Design an application that declares two Book objects and sets and displays their values.

c. Design an application that declares an array of 10 Books. Prompt the user for data for each of the Books, then display all the values.

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Design a class named book that holds a stock number author
Reference No:- TGS02648704

Expected delivery within 24 Hours