Micro Lover
Member level 2

is it possible to use the Case with Expression
e.g
e.g
Code:
switch (A)
{
case (A > 1 && A < 10):
break;
}
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
switch (A)
{
case (A > 1 && A < 10):
break;
}
case (> 1 and <10)
Micro Lover;942988 said:is it possible to use the Case with Expression
Code:switch (A) { case (A > 1 && A < 10): break; }