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

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

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!