結果 : program with if else