Question: what are the difference between nested if statement and select case?
Answer: What is the difference between nested if and switch case statements? ... Check the Testing Expression: An if-then-else statement can test expressions based on ranges of values or conditions, whereas a switch statement tests expressions based only on a single integer, enumerated value, or String object.