Menu
×
×
Correct!
Exercise:Insert the missing parts to complete the following
int day = 2;
switch (day)
{
case 1:
Console.WriteLine("Monday");
break;
case 2:
Console.WriteLine("Tuesday");
break;
}
Not CorrectClick here to try again. Correct!Next ❯int day = 2; switch () { 1: Console.WriteLine("Monday"); break; 2: Console.WriteLine("Tuesday"); ; } |