0

Can switch test algorithms

algoritms

18th Apr 2018, 7:17 PM
Morgan
Morgan - avatar
3 odpowiedzi
+ 2
yes
25th Apr 2018, 5:43 PM
Morgan
Morgan - avatar
0
idont understand your problem do you mean switch case alg?
24th Apr 2018, 10:18 PM
hamid ghafori
hamid ghafori - avatar
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; }
25th Apr 2018, 7:02 PM
hamid ghafori
hamid ghafori - avatar