結果 : write a program for nested if statement