+ 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
4 Réponses
+ 7
case 1:
case 2:
.
.
.
.
case 15:
//code
break;
case 16:
+ 4
ohhhhhhhhhhg i get it, that makes alot more sense. thanks bud!🙄
+ 2
Sorry that doesnt say much to me, im a visual learner so i need a little more detail, thank you!