% sample10.t % an if/then/else example % var mark : real put "please enter your grade" get mark if mark >=50 then put "you passed!" % only gets executed if condition is true else put "you failed" % only gets executed if condition is false end if put "Your mark was ",mark % executed every time