Just to be nit-picky ...
I think the answer to question 3 should be 3040 !!!
Take first of all, 1000. Add 40.
Now add 1000 again.
Now 30.
Again add 1000 to the total.
Now 20.
And 1000 once more.
Finally, 10
Lines 3,5,6, and 7 have no operational statement. Assuming that they mean "add" is is just that - an assumtion !!
They could be "subtract", "multiply" or anything.
Note: Line 2 could also be considered to be invalid. At this point we have not (added) 1000, we (started) at 1000 and (added) 40 !!
Pangur [img]graemlins/cat3.gif[/img]
|