+ 1

Is it possible?

Is it possible to make case any number above or below a number to avoid if statements? like case < 16? that didnt work of course thats why im asking 😂 https://code.sololearn.com/cZZO15I6cHh6/?ref=app

11th Apr 2017, 5:27 PM
Seth T
Seth T - avatar
4 Antworten
+ 7
case 1: case 2: . . . . case 15: //code break; case 16:
11th Apr 2017, 5:31 PM
Pixie
Pixie - avatar
+ 4
ohhhhhhhhhhg i get it, that makes alot more sense. thanks bud!🙄
11th Apr 2017, 5:56 PM
Seth T
Seth T - avatar
+ 2
Sorry that doesnt say much to me, im a visual learner so i need a little more detail, thank you!
11th Apr 2017, 5:33 PM
Seth T
Seth T - avatar