Complete the Stub Functions Called from the Reports Menu.
Currently, when the user chooses an option from the Reports menu, a stub function is called, indicating which option was chosen. Modify the stub functions so they actu. ally display the correct report on the screen.
Here is a list of the reporting functions and what they do:
The repListing function should display a report listing all the books in the inventory. The following data should be included in the report: tide, ISBN number, author. publisher, date added to inventory, quantity on hand, wholesale cost, and retail Om The report should display an appropriate title that includes the date. The function should fill the screen with data and then ask the user to press a key to continue to the next screen.
The repWholesale function should display a report that lists the following data on all books in the inventory: title, ISBN number, quantity on hand, and wholesale cost. The report should display an appropriate title that includes the date. The function should fill the screen with data and then ask the user to press a key to continue to the next screen. The last line of the report should give the total wholesale value of fit inventory (the sum of each book's wholesale cost multiplied by the quantity on hand).
The repRetail function should' display a report that lists the following data on of books in the inventory: title, ISBN number, quantity on hand, and retail price. The report should display an appropriate title that includes the date. The function should fill the screen with data and then ask the user to press a key to continue to the next screen. The last line of the report should give the total retail value of the inventory (the sum of each book's retail price multiplied by the quantity on hand).
The repQty function should display a report that lists the following data on all books in the inventory: title, ISBN number, and quantity on hand. The list should be sorted by quantity on hand in descending order (the books of the greatest quantity listed first). The report should display an appropriate title that includes the date. The function should fill the screen with data and then ask the user to press a key to continue to the next screen. The repeost function should display a report that lists the following data on all books in the inventory: title, ISBN number, quantity on hand, and wholesale cost. The list should be sorted by wholesale cost in descending order (the books of the greatest unit cost listed first). The report should display an appropriate title that includes the date. The function should fill the screen with data and then ask the user to press a key to continue to the next screen.
The repAge function should display a report that lists the following data on all books in the inventory: title, ISBN number, quantity on hand, and date added to the inventory. The list should be sorted by date added, in descending order (the books that have been in, inventory longest will be listed first). The report should display an appropriate title that includes the date. The function should fill the screen with data and then ask the user to press a key to continue to the next screen.
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.