ex30 learning if else