Switch | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
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