Computer Science, asked by rehman3104555839, 1 month ago

It is a control statement that allows making a decision from the number of choices​

Answers

Answered by khanmohdumer63
1

Answer:

This structure helps to make a decision from the number of choices. The switch statement is a multi−way decision that tests whether an expression matches one of a number of constant integer values, and branches accordingly [3]

Answered by kavyapsynergy
0

The Switch case statement is a control statement that allows making a decision from the number of choices

Switch case statement

  • The Switch case statement compares the value of a variable to various cases and tests it. A block of statements associated with that specific case is executed once the case match is identified. Each case in a switch block has a specific value that is referred to as an identifier.
  • The switch statement allows us to choose one of many possible statement blocks to execute.

Similar questions