while, if, logical and/or