結果 : algorithm if else statement