Which statement allows you to evaluate value and execute a block of statements based on an integer or single character input?

Which statement allows you to evaluate value and execute a block of statements based on an integer or single character input?


a. case statement
b. switch statement
c. select statement
d. choose statement


Answer: b. switch statement


Learn More :