0
Is the switch statement only for == ???
Is it possible to make a switch statement be <= or >= or should I just keep using the if statements?
4 Respuestas
+ 1
read this :
https://www.geeksforgeeks.org/using-range-switch-case-cc/
tip: this is an extension of the GNU C compiler(also supported by clang and Intel C/C++) and not standard C or C++
+ 1
Wait I think I get it case 1 . . . 5:
means 1 through5 right?
+ 1
I understand now Thank you very much
0
Thanks but I do not understand a thing R.I.P