an electricity company charges its consumer according to the units consumed per month as per the given criteria first 100 unit ₹1 per unit, next 300 units ₹2 per unit, next 600 units ₹3 per unit, above 1000 units ₹5 per unit. Write a program to input the amount of units consumed and calculate the total charges payable by the consumer
Answers
Answered by
0
right and correct answer is = 11
Similar questions