FIT   100
© Copyright University of Washington 1999-2000
Braining Out The Logic
vWhen will guesses be made?
oInitially, when the program begins (called form_load)
oIn response to a Yes answer
oIn response to a No answer
vIn addition to the first guess what happens at start
oInitialize loSide = 0
o increment = 100
vIn addition to a guess, what happens on a Yes?
oAdd-in increment, as weight is more than loSide + inc
vIn addition to a guess, what happens on a No?
oReduce the increment by dividing by 10
oCheck if the increment is below 1 … that’ll be the answer