Question: 2. (15 points) CostCalculation.java. Write a program that calculates the annual cost of running an appliance. The program asks the user for the cost per
2. (15 points) CostCalculation.java. Write a program that calculates the annual cost of running an appliance. The program asks the user for the cost per kilowatt-hour and the number of kilowatt-hours the appliance uses in a year. Here is an example of the output: Enter cost per kilowatt-hour in cents 8.42 Enter kilowatt-hours used per year 653 Annual cost: $54.9826
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
