Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Abu Dhabi Water and Electricity Authority charges its clients for the electricity consumption monthly. The price of 1 watt is o.03 Dirhams (if the load

image text in transcribed
Abu Dhabi Water and Electricity Authority charges its clients for the electricity consumption monthly. The price of 1 watt is o.03 Dirhams (if the load less than or equal to 3000). If the load exceeds 3000 Watts, The company charges o.05 Dirhams for each additional watt consumed. To encourage energy savings, ADWEA gives discount of 2% on the total bill for those whose bill is less than 100 dirhams. Write a program which reads from the user the number of watts consumed by a customer during the month and computes and displays the total monthly energy bill. Please enter the power consumption: Please enter the power consumption: Abu Dhabi Water and Electricity Authority charges its clients for the electricity consumption monthly. The price of 1 watt is o.03 Dirhams (if the load less than or equal to 3000). If the load exceeds 3000 Watts, The company charges o.05 Dirhams for each additional watt consumed. To encourage energy savings, ADWEA gives discount of 2% on the total bill for those whose bill is less than 100 dirhams. Write a program which reads from the user the number of watts consumed by a customer during the month and computes and displays the total monthly energy bill. Please enter the power consumption: Please enter the power consumption

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Measurement And Internal Audit Operations

Authors: Andrew Fight

1st Edition

184112401X, 978-1841124018

More Books

Students also viewed these Accounting questions