Write a program for the Bookstore. The main application will declare a table to hold the names of the items ordered as well as the prices.
Create a class named Menu that will display the following:
WELCOME TO BOOKSTORE
PLEASE SELECT FROM THE FOLLOWING:
ENTER 1 TO PURCHASE A TEXTBOOK
ENTER 2 TO ORDER SUPPLIES
ENTER 3 TO ORDER LOGO CLOTHING
Return the selected value back to the main program and, depending on the value, you will call one of three subroutines:
Supplies – Sample menu – DO NOT DISPLAY THE PRICES IN THE MENU!:
PLEASE SELECT FROM THE FOLLOWING SUPPLIES:
ENTER 1 FOR PRINTER PAPER $12
ENTER 2 FOR 3 SUBJECT NOTEBOOK $12
ENTER 3 FOR 2019 PLANNER $10
ENTER 4 FOR 6 PK SCANTRON $2
Textbook – Sample menu:
PLEASE SELECT FROM THE FOLLOWING TEXTBOOKS:
ENTER 1 FOR JAVA PROGRAMMING $128
ENTER 2 FOR OFFICE 2016 W/SNAP CODE $178
ENTER 3 FOR VISUAL C# $152
ENTER 4 FOR JAVASCRIPT $120
Clothing – Sample menu:
PLEASE SELECT FROM THE FOLLOWING ITEMS:
ENTER 1 FOR KNIT BEANIE $10
ENTER 2 FOR T SHIRT $15
ENTER 3 FOR FLEECE HOODIE $25
ENTER 4 FOR WINDBREAKER $41
Each subroutine will move the item name and price into the table (Hint: Table must be sent to the subroutine) After allowing the user to order 3 items (Hint: Perform Varying), then display from main the items as well as a grand total for their order. (Sales Tax not included).
For simplicity’s sake we will not worry about sales