Write a program that will print out a hydro bill. The bill will be formatted as the example on the next page. The following information will be entered by the user: - Account number (12 digit code) - Address - Kilowatts used for the month for evening useage - Kilowatts used for the month for daytime useage - Kilowatts used for the month for nighttime useage - Kilowatts used for the month for morning useage Layout specifications - Overall width of bill is 80 characters Time of Use Rates - Morning rates, $0.08 kWh - Daytime rates, $0.099 kWh - Evening rates, $0.08 kWh - Nighttime rates, $0.053 kWh Formulas ? Total Cost = Kilowatts x Time of Use Rate ? Taxes = Total Cost x 15% ? Total Payable = Total Cost + Taxes
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.