+ 2

Range Of Values

How do you use a range of numbers (rather than fixed numbers) in a switch statement? Like, instead of inputting "case 41", you input "case 31-41" or something similar?

23rd Jun 2019, 6:00 PM
SolomonDavid Akesoba
SolomonDavid Akesoba - avatar
5 Respuestas
+ 1
Swim, thanks a lot.
23rd Jun 2019, 6:42 PM
SolomonDavid Akesoba
SolomonDavid Akesoba - avatar
0
But does it work on non-switch statements?
23rd Jun 2019, 6:47 PM
SolomonDavid Akesoba
SolomonDavid Akesoba - avatar