Menu
×
×
Correct!
Exercise:Complete the
int day = 3;
switch (day)
{
case 1:
Console.WriteLine("Today is Saturday");
break;
case 2:
Console.WriteLine("Today is Sunday");
break;
default:
Console.WriteLine("Looking forward to the Weekend");
break;
}
Not CorrectClick here to try again. Correct!Next ❯int day = 3; switch () { 1: Console.WriteLine("Today is Saturday"); break; 2: Console.WriteLine("Today is Sunday"); ; : Console.WriteLine("Looking forward to the Weekend"); ; } |