Professional Documents
Culture Documents
Section 3
As a TNB Engineer, you are required to write a program to help users estimate their monthly bill for
basic appliances. At the end of the program, the estimated bill will be shown.
Assumptions:
Power consumptions:
Other assumptions:
- 30 days in a month
- Tariff:
o First 200 kWh = RM 0.218/kWh
o After 200 kWh = RM 0.334/kWh.
o Calculation example assuming only fridge:
Usage = 80W(24h30) = 57600Wh = 57.6 kWh(less than 200 kWh)
Bill = 57.6 kWh RM0.218/kWh = RM 12.56
Deliverables: