Homework help! changing from a switch statement to if-else
Hi! This is my homework problem (for reference)
Please change the switch statement in the following program into an if-else statement (else if or
nested if-else statement may be necessary).
and so far on my code i have gotten to here, but my book doesn't give any explanation on what the equivalent of break; default is in if-else so i don't really know what it means nor how to do that line. any suggestions?