The Electricity Board charges from their consumers according to the units consumed per
month. The amount is calculated as per the tariff given below:
Units consumed Charges
Up to 100 units 5.50/ unit
For next 200 units 6.50/ unit
For next 300 units 7.50/ unit
More than 600 units 8.50/ unit
Write a program to input consumer’s name, consumer’s number and the units consumed. The
program displays the following information after calculating the amount.
Consumer’s Number: ___________________
Consumer’s Name: ______________
Units consumed: ___________________
Amount to be paid: _________________
Answers
Answered by
0
Answer
800 units it comes 9.50/unit
Similar questions