¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Cases and Breaks
Do 'cases' and 'breaks' need to be in numerical order or do we put our own variables on them?
2 Respuestas
0
For cases you assign your own variables(numeric variables or characters). And a 'break' after every case you used besides the the default case.
0
you can put your own variables.
you should actually try with yourself, you will learn in better way.
if you have doubt , you can do this that or not..implement it in program and see how it goes.
implementing is best way to learn.