Switch | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
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