結果 : write a program using if else statement along with syntax and flow chart