An electricity company charges electricity consumption according to the following scale. Up to 200 Units (0-200) to...

50.1K

Verified Solution

Question

Programming

An electricity company charges electricity consumptionaccording to the following scale.
Up to 200 Units (0-200) to 0.25 € per unit
The next 1000 Units (201-1200) to 0.40 € per unit

Over 1200 units to 0.50 € per unit.
Write a program in python language that accepts the number of unitsconsumed by the customer and displays the amount of money owed bythe customer to the electricity company

Answer & Explanation Solved by verified expert
3.9 Ratings (558 Votes)
reading units    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students