<>= IF response is q THEN set loop control to indicate the user has quit ELSE IF response equals solution THEN display correct message ELSE display incorrect message END IF