what is the recommended way to rreolve the dangling else problem?
a. Use explicit braces to indicate the else block's scope
b. Use indentation to clearly show the structure of the if-else statements
c. Use a switch statement instead of nested if-else blocks
d. Use a ternary operator to condense the if-else statement structure

Q&A Education