var variable1:int
put "What is the price of the item?"
get variable1
put "The PST of the item is ", variable1*0.08
put "The GST of the item is ", variable1*0.05
put "The total of the item is ", variable1*0.08+variable1*0.05+variable1
Results 1 to 6 of 6
- 06 Feb. 2010 10:39am #1
If you know what this does, you win.
[SIGPIC][/SIGPIC]
- 06 Feb. 2010 11:17am #2
Errr...
It tells you how to get 23?
- 06 Feb. 2010 11:18am #3
No just read it, this is really basic turing.
[SIGPIC][/SIGPIC]
- 06 Feb. 2010 11:30am #4
Gathers the information of an item, the price, the tax, and the total?
- 06 Feb. 2010 11:35am #5
Okay you guys suck at turing.
When you press run, this pops up a question saying "What is the price of the item?"
You answer a number (whole) or change
var variable1:int
put "What is the price of the item?"
get variable1
put "The PST of the item is ", variable1*0.08
put "The GST of the item is ", variable1*0.05
put "The total of the item is ", variable1*0.08+variable1*0.05+variable1
to
var variable1:real
put "What is the price of the item?"
get variable1
put "The PST of the item is ", variable1*0.08
put "The GST of the item is ", variable1*0.05
put "The total of the item is ", variable1*0.08+variable1*0.05+variable1
then it'll tell you the PST, GST and total if paying for it.[SIGPIC][/SIGPIC]
- 06 Feb. 2010 11:38am #6
i was close