Switch | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Switch

In the example given it makes use of int day = 3. How does it recognize that the third day is Wednesday? Is there something that has to be done so that it references it?

23rd Dec 2016, 1:33 AM
Anthony Igbalajobi (Skinnyboi Gaming)
Anthony Igbalajobi (Skinnyboi Gaming) - avatar
1 Respuesta
0
Nvm, I realized that you type it in the actual day in each case
23rd Dec 2016, 1:36 AM
Anthony Igbalajobi (Skinnyboi Gaming)
Anthony Igbalajobi (Skinnyboi Gaming) - avatar