CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics

switch Case Selection

C# quiz · Question 46
easyConditionals

What does this code print?

Code

1int day = 2;
2switch (day) {
3 case 1: Console.Write("Mon"); break;
4 case 2: Console.Write("Tue"); break;
5 default: Console.Write("Other"); break;
6}