Mini-Exercise #3 -- Answer
v
Suppose the computer executes the following
statements. What is the value of total at the end?
total = 1
total = total + 5
if total > 8 then
total = 0
else
total = 10
end if
total is 10