FIT   100
© Copyright University of Washington 1999-2000
Mini-Exercise #3 -- Answer
v
vSuppose 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