Quote:
|
Originally Posted by xAndrewx
on the devide..
you've done "variable2 = variable2/2;" and you've said the answer is "1.25"
You hadn't assigned variable2 to anything :O.. I think?
Unless it's suppose to be "variable2 = variable1/2;" because variable1 = 2.50?
:o (i don't know if this is wrong or right)
|
Yes =) You are right. I will fixed that to the next version.
The right way is:
Variable1 = (10/2)/2;
Variable2 = Variable1/2;
Variable1 is 2.5 and Variable2 is 1.25
