Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var jumlah:Number = 10;
- var harga:Number = 25;
- trace("jumlah: " + jumlah);
- trace("harga: " + harga);
- trace("Total: " + harga * jumlah);
- jumlah = 7;
- harga = 50;
- trace("Nilai telah dirubah");
- trace("Jumlah sekarang: " + jumlah);
- trace("Harga baru: " + harga);
- trace("TOTAL: " + harga * jumlah);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement