# Free help with homework

## Why join Brainly?

• find similar questions

# Write a program that calculates and prints the monthly electric bill for the Olympia Power company. The company services 3 types of customers

:residential, business and industrial. The bill calculations vary, depending on the type of customer. Electric bills are calculated as follows : Residential service : Basic service charge of \$17.00 â�¢ Plus amounts calculated against the kWh using the following rates : Delivery : 0.04629 RDM : -0.00124 Incr state assessment : 0.00026 â�¢ Plus a Consol. Billing Credit of -0.07294 times Delivery charge â�¢ Plus a Tariff Surcharge of 0.0204082 times the total thus far â�¢ Plus a Electric Supply charge of 0.12170 times kWh â�¢ Plus a Sales Tax of .0475 times the Electric Supply Business service : Basic service charge of \$ 60.00 â�¢ Plus amounts calculated against the kWh using the following rates : Delivery : 0.04556 State Assessment : 0.06861 RCB/SPT : use rate below â�¢ Plus an Electric Supply charge of 0.035 times kWh â�¢ Plus a Sales Tax of .0350 times the Electric Supply RCB/SPT code Rate S - 0.00015 M - 0.00025 L - 0.00040 I - 0.00045 G - 0.00060 Industrial service : No basic service charge â�¢ An Electric Supply charge of 75.25 times mWh â�¢ Plus a Sales Tax of .0875 times the Electric Supply â�¢ Plus a Power Grid charge of X times mWh where X is the Power Grid rate entered by the user. Note 1 : The program must prompt the user to enter a customer number and a service code of : R, r, B, b, I, i. Treat any other character as an error. Note 2 : The program must use 3 void functions : one to calculate and output each type of bill.
2
by llcoolz15
Get free help!
• 80% of questions are answered in under 10 minutes
• Answers come with explanations, so that you can learn
• Answer quality is ensured by our experts