Computer Science, asked by giri729, 1 year ago

what is the purpose of switch statement in c++

Answers

Answered by sudha76
3
C++ switch statement. A switch statement allows a variable to be tested for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each case.
Similar questions