結果 : write ac program based on if else