ex30: else and if.