For this chapter's assignment you are going to add a series of arrays to the program. For the time being, these arrays will be used to hold the data in the inventory database. The functions that allow the user to add, change, and delete books in the store's inventory will modify the data held in these arrays.
Modify the bookInfo Function
The booktnfo function currently displays the following screen:
Modify the function so it has the following parameters:
• isbn: a 14-element character array. The ISBN number of a book will be passed into this parameter.
• title: a .51-element character array. The book title will be passed into this parameter.
• author: a 31-element character array. The author's name will be passed into this parameter.
• publisher: a 31-element character array. The publisher's name will be passed into this parameter.
• date: an 11-element character array. The date the book was added to inven-tory will be passed into this parameter.
• qty: an integer. The quantity on hand of the book will be passed into this parameter.
• wholeSale: a double. The wholesale cost of the book will be passed into this parameter.
• retail: a double. The retail price of the book will be passed into this parameter.
The program should display the data passed into its parameters in the following format:
Serendipity Booksellers Book Information
ISBN: 1-999111-22-1
Title: Robert the Bruce, King of Scotland
Author: Haynes, Timothy
Publisher: Historical Publishers, Inc.
Date Added: 04-02-2009
Quantity-On-Hand: 20
Wholesale Cost: 15.50
Retail Price: 19.95
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.