Danish K.

asked • 10/05/22

Python task short

Assignment: electricity calculator for households


You will create a program to calculate a household's monthly electricity bill based on the Government's current electricity subsidy scheme. The power support scheme is as follows:


The state will pay 90% of the "kilowatt price" that exceeds 70 øre per kilowatt hour (kWt)

this applies to an electricity consumption of up to 5,000 kilowatt hours per month per household/measuring point

for consumption over 5,000 kilowatt hours, the current market price is paid

On the basis of monthly consumption and the market price of electricity stated in øre, the calculator must calculate what the electricity customer must pay and how much the customer will receive in electricity subsidy. Internet rent and various fees are excluded. The program must be repeated as long as the user wishes.

1 Expert Answer

By:

Jill P. answered • 03/11/23

Tutor
New to Wyzant

Computer Science Professional

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.