Menu
×
×
Correct!
Exercise:Complete the
int day = 4;
switch (@(3)) {
@(4) 1:
printf("Saturday");
@(5);
@(4) 2:
printf("Sunday");
@(5);
@(7):
printf("Weekend");
}
int day = 4;
switch (day) {
case 1:
printf("Saturday");
break;
case 2:
printf("Sunday");
break;
default:
printf("Weekend");
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 46 exercises.
Are you sure you want to continue?