Daisypath Anniversary tickers

Daisypath Anniversary tickers

Friday, April 8, 2011

ASSIGNMENT TIN MINUMAN......

QUESTION :
Write a program :
* * * * * * * * * * * * * * * * *
M E S I N T I N M I N U M A N
- - - - - - - - - - - - - - - - -
Jenis RM
- - - - - - - - - - - - - - - - -
1.Pepsi 1.80
2.Coca Cola 1.90
3.F&N Orange 1.50
4.F&N Mirinda 1.60
5.100 Plus 2.00
* * * * * * * * * * * * * * * * *
your selection :
Insert your money :

*Your Balance are ________
* Please insert _________ . Your money is not enough !! : _________

Thank You !
Please Come Again


ANSWER:

STEP 1)










STEP 2)











STEP 3)











STEP 4)











STEP 5)

(KALAU MASOKKAN DUIT LEBIH)











STEP 6)











STEP 7)











STEP 8)

(KALAU MASOKKAN DUIT TAK CUKOP)











STEP 9)











STEP 10)










STEP 11)

No comments:

Post a Comment