Question: I need help building this Java program using the imports only JOptionPane and uitl.Array Scenario You are asked to program for a bookstore that will

I need help building this Java program using the imports only JOptionPane and uitl.Array

Scenario

You are asked to program for a bookstore that will be launching soon. The bookstore has three types of items: textbooks, apparels, and gift items. Each item has an item name and sales price. Initially, the store can have a maximum of 100 items. The bookstore is offering an opening discount on items as follows:

Item Type Discount Textbook 30% Apparel 10% Gift items 20%

I need help building this Java program using the imports only JOptionPaneand uitl.ArrayScenarioYou are asked to program for a bookstore that will belaunching soon. The bookstore has three types of items: textbooks, apparels, andgift items. Each item has an item name and sales price. Initially,

\fSample Input/Output: Sample Menu Input *"GMU BookStore** Choose one of the following 1. Add item 2. Search Item 3. Calculate Discounted Price 4. Delete Item 5. Print All Items 6. Exit Enter your choice Cancel OKOption Choice/ Inputs Outputs Option = 1 Enter Item Name: Simple Program Design Enter Item Price: 60 Enter Item Type: Textbook Option = 1 Enter Item Name: Data Structure Enter Item Price: 100 Enter Item Type: Textbook Option = 1 Enter Item Name: GMU t-shirt Enter Item Price: 30 Enter Item Type: Apparel Option = 2 Item Found. Enter Item Name: Data Structure Item Name: Data Structure Item Price: 100 Item Type: Textbook Option = 2 Search failed! Enter Item Name: GMU logo Mug No student record was found Option = 3 Discount for the item $18 Discounted Price $42Enter Item Name: Simple Program Design Option = 5 *#GMU Book Store ** Item Name] Item Type Item Price| Discounted Price Simple Program Design Textbook $60 $42 Data Structure Textbook $100 $70 GMU t-shirt Apparel $30 $27 Total Textbook: 2 Total Apparel: 1 Total gift Item: 0 Option = 4 Successfully deleted the Item. Enter Item Name: Data Structure Option = 5 **GMU Book Store * * Item Name Item Type Item Price| Discounted Price Simple Program Design Textbook $60 $42 GMU t-shirt Apparel $30 $27 Total Textbook: 1 Total Apparel: 1 Total gift Item: 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!