Design an algorithm (pseudocode or flowchart) for the following problems:-
CPA Status
2.0 - 4.0 Satisfactory
1.7 - 1.9 Conditional
0.0 - 1.6 Failed (Terminated)
1.7 - 1.9 Conditional
0.0 - 1.6 Failed (Terminated)
2. An electric supply company charges the following rates for its customers:-
No. of unit
consumed
Charges/unit (RM)
1-200 0.218
1-200 0.218
201 -300 0.334
301-600 0.516
601-900 0.546
>=901 0.571
*http://www.tnb.com.my/tnb/residential/pricing-and-tariff/tariff-rates.html
Due Date 25/9/2014
No comments:
Post a Comment