Ehtisham A.

asked • 05/01/20

Write pseudocode and algorithm of following

Write pseudocode and algorithm that takes as input the electricity units consumed and prints the electricity bill amount on the screen. Calculate the electricity bill amount according to the following conditions;

For first 50 units Rs. 0.50/unit

For next 100 units Rs. 0.75/unit

For next 100 units Rs. 1.20/unit

For unit above 250 Rs. 1.50/unit

Furthermore, an additional surcharge of 20% is added to the total bill.

1 Expert Answer

By:

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.