You have already completed these exercises!
Do you want to take them again?
You completed the C++ Switch Exercises from W3Schools.com
Share on:
What will be the output of this code if day = 2?switch (day) { case 1: cout << "Monday"; break; case 2: cout << "Tuesday"; break; default: cout << "Another day";}
day = 2
switch (day) { case 1: cout << "Monday"; break; case 2: cout << "Tuesday"; break; default: cout << "Another day";}