redefined ifand while to take only one sentence

example: if(x is greater that three and y is less than two)  or while(x is less than three)