Computer Science, asked by punyamigowri, 4 months ago

Write a program to calculate the electricity bill amount as per the following criteria.

Number of units Rate per unit
First 100 units Rs. 2.00
Next 200 units Rs. 3.00
Above 300 units Rs. 5.00

A surcharge of 2.5% charged if the number of units is consumed above 300 units.
Input customers name and number of units consumed. Display the details as follows:
Name of the customer :---------------
Number of units consumed : ---------------
Bill amount : -------------------------

Answers

Answered by rohitkhajuria90
6

Please refer the attached image

Attachments:
Answered by ushosree
4

Answer:

hope it helps you...mark it as the brainliest

Attachments:
Similar questions