You are asked to write a program that calculates your electric bill. You are to input the number of kilo-watt hours (kWh) used in a 31 day billing period. Electricity costs 6.72 cents per kWh; a tax...


You are asked to write a program that calculates your electric bill. You are to input the number
of kilo-watt hours (kWh) used in a 31 day billing period. Electricity costs 6.72 cents per kWh; a
tax of 8% should be added. Write a program that accepts the number of kilo-watt hours used
and prints a bill.
Sample Run:
Please enter the kilo watt hours over 31 days: 412
Electric bill for a 31 days period is as follows:
Number of Kilo Watt hours: 412.0
Amount: $27.6864 Tax: $2.214912
Total: $29.901311999999997



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here