結果 : write a program to demonstrate the use of conditional operator and switch case statement in java