Question: IST Programming Challenge #1 Cost Estimator (75 points) 1. Start a new Java Project and class file named after the program task with your initials

 IST Programming Challenge #1 Cost Estimator (75 points) 1. Start a

IST Programming Challenge #1 Cost Estimator (75 points) 1. Start a new Java Project and class file named after the program task with your initials e.- Cost Estimator MH 2. The user will be given a choice of 5 items as shown below (also shown is the price and weight): A) Router $1495.50 3 pounds $695.50 B) Switch 3 pounds $99.99 C) 100 Ft Cat 5 5 pounds $49.95 D) NIC 1 pound $9.95 1 pound E) Patch Cable 3. User will be asked to select A-E for the item, upper or lower case should be allowed. 4. 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. 5. The user willenter the quantity. 6. Calculate the extended Cost (quantity xcost). Calculate the total weight (quantity xweight). 7. Based on the quantity, calculate a discount amount (discount x extended cost), and sub-total (extended cost discount amount) using the following a. 10 items, no discount b. 10-25 items, 10% discount 25 items, 15% discount 8. 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" the user enters jAvA exact case) for the answer, make the total cost $1.00 9. lf the total cost of merchandise is over $1000, free shipping. If not over $1000, the shipping cost is $10+$2 per pound, so that ordering 2 switches would cost $10 ($2 x 6 lbs) $22. 10. Calculate the final cost. 11. Display all data for the purchaser that would be of interest to them to verify costs. You may use Scanner or Dialogs for user input/output. Ensure you validate all possible options items, costs, discounts, etc, to ensure they all work correctly with

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!