Computer Science, asked by uzairkhan052003, 22 days ago

a) lf bill exceeds Rs. 400 then a discount of 159 will be applied and the minimum bill should be of Rs. 100/-
in C language​

Answers

Answered by gjaat370754
0

Answer:

100 option turn current answer

Answered by hrai86217
0

Input: U = 250

Output: 3500

Explanation:

Charge for the first 100 units – 10*100 = 1000

Charge for the 100 to 200 units – 15*100 = 1500

Charge for the 200 to 250 units – 20*50 = 1000

Total Electricity Bill = 1000 + 1500 + 1000 = 3500

Input: U = 95

Output: 950

Explanation:

Charge for the first 100 units – 10*95 = 950

Total Electricity Bill = 950

Similar questions