Problem

Create the structure declaration. Create a BookData structure declaration with the f...

Create the structure declaration.

Create a BookData structure declaration with the following members:

bookTitle: An array of characters. The array should have 51 elements. This makes it large enough to store a book title of up to SO characters in length.

isbn: An array of characters. The array should have 14 elements. This makes it large enough to store an ISBN entry of up to 13 characters in length.

author: An array of characters. The array should have 31 elements. This makes it large enough to store an author's name of up to 30 charac-ters in length.

publisher: An array of characters. The array should have 31 elements. This makes it large enough to store the name of a publisher with up to 30 characters.

dateAdded: An array of characters that will hold the date the book was added to the inventory. The array should have 11 elements. This makes it large enough to store a date, AS a string, with 11 characters. The date should he stored in the form MM-DD,YYYY. For example, April 2, 2006 would be stored as 04-02-2006.

qtyOnfland: An integer. This member will hold the quantity on band of a book.

wholesale: A double. This member will hold the wholesale price of a book.

retail: A double. This member will hold the retail price of a book.

Step-by-Step Solution

Request Professional Solution

Request Solution!

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.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT