Computer Science, asked by bishtrajat, 1 month ago

Draw a flowchart and write a C program to calculate bill as per Uttarakhand State Electricity Board (USEB) generated on the following basis:
If units are between 0 to 100- 3.80 /unit
If units are between 101 to 200- 3.95 /unit
If units are between 201 to 400- 4.90 /unit
If units are above 400- 9.15/unit
Case 1:
Input
Enter the number of Units: 90
Output
The Bill generated is: Rs. 252
Explanation: 90x 2.80= 252
Case 2:
Input
Enter the number of Units: 170
Output
The Bill generated is: Rs. 542.5
Explanation: 100x2.80+70x3.75= 542.5
Case 3:
Input
Enter the number of Units 450
Output
The Bill generated is: Rs. 1772.5
Explanation: 100x2.80+100x3.75+200x4.30+50x5.15 = Rs. 1772.5​

Answers

Answered by narayanaswamy2757
0

fdjdudvr djdidg je OSU e noer je HTC 4 ne use e

Similar questions