ex29: if statements