Question: 4) (25 points) Electric Choice Create the Electricity Plan Comparison solution from Lab 1 as a Java program. Prompt the user for total monthly usage

4) (25 points) Electric Choice Create the Electricity Plan Comparison solution from Lab 1 as a Java program. Prompt the user for total monthly usage (as an integer representing kWh.) Calculate the values for the same three plans, aligning the data in five colums as shown in the sample output below: Sample run: % java ElectricChoice Electricity Plan Comparison Total monthly usage (kWh): 1800 Plan Flat fee Fixed Rate $ 0.00 Flat Rate 1000 75.00 Flat Rate 1500 $ 100.00 it it is Var begins 0 1000 1500 Var rate $ 0.07 $ 0.06 $ 0.05 userer Total Bill 126.00 123.00 115.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
