Menu
×
×
Correct!
Exercise:Complete the
int day = 3;
switch (@(3))
{
@(4) 1:
Console.WriteLine("Today is Saturday");
break;
@(4) 2:
Console.WriteLine("Today is Sunday");
@(5);
@(7):
Console.WriteLine("Looking forward to the Weekend");
@(5);
}
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 ❯ |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?