Problem
Decision structures are a baseline component of any application. Making decisions based on input, either from the user or something such as a database, can affect the outcome of an application's tasks. consider the differences between case statements and if statements.
a) How do case statements differ from if statements?
b) Describe one scenario in which a case statement would be the appropriate choice. Explain your reasoning.
c) Describe one scenario in which an if statement would be the appropriate choice. Explain your reasoning.