Question: JAVA GUI Start a new Java Project and class file named after the program task with your initials (i.e.- CostEstimator_MH) The user will be given

JAVA GUI JAVA GUI Start a new Java Project and class file named after

Start a new Java Project and class file named after the program task with your initials (i.e.- CostEstimator_MH) The user will be given a choice of 5 items as shown below (also shown is the price and weight): User will be asked to select A-E for the item, upper or lower case should be allowed. Based on the selection using the switch-case structure, store the name of the item in a variable, the price in another and the weight in yet another. If none of the correct choices are made, exit the program. The user will enter the quantity. Calculate the extended Cost (quantity x cost). Calculate the total weight (quantity x weight). Based on the quantity, calculate a discount amount (discount x extended cost), and sub-total (extended cost - discount amount) using the following: a. 25 items, 15% discount Ask if they are in Illinois. If yes, calculate a 6.25% sales tax. If no, 0%. The state tax should be in your code as a constant grouped with the variables. Install an "Easter Egg" - if the user enters jAvA (exact case) for the answer, make the total cost exist1.00.0 If the total cost of merchandise is over exist1000, free shipping. If not over exist1000, the shipping cost is exist10 + exist2 per pound, so that ordering 2 switches would cost exist10 + (exist2 times 6 lbs) = exist22. Calculate the final cost. Display all data for the purchaser that would be of interest to them to verify costs

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 Databases Questions!