0
Can switch test algorithms
algoritms
3 Answers
+ 2
yes
0
idont understand your problem
do you mean switch case alg?
0
switch (n) {
case label1:
code to be executed if n=label1;
break;
case label2:
code to be executed if n=label2;
break;
case label3:
code to be executed if n=label3;
break;
...
default:
code to be executed if n is different from all labels;
}