السلام عليكم
ممكن حد يساعدني في الحل
Scope:
The student should know the following:
1. One-Way if
2. Two-Way if
3. Multi-Way if
4. Nested if
5. Switch
Problem#:
An electric power distribution company charges its domestic consumers as follows:
Consumption Units Rate of Charge
0-200 AED 0.50 per unit
201-400 AED 100 plus AED 0.65 per unit excess of 200
401-600 AED 150 plus AED 0.80 per unit excess of 400
601 and above AED 200 plus AED 1.00 per unit excess of 600
Write C Program to read the customer number and power consumed and prints the amount to be paid by the customer.
