# Contains? & ltstdio.h & gt
int? Major (Invalid) {
int? Day;
Printf ("Please? Input? Answer? Number? For what? Answer? Day:? ”);
Scanf("%d ",& days);
Switch (day) {
Case? 1:? Printf ("Sunday"); Break;
Case? 2:? Printf ("Monday"); Break;
Case? 3:? Printf ("Tuesday"); Break;
Case? 4:? Printf ("Wednesday"); Break;
Case? 5:? Printf ("Thursday"); Break;
Case? 6:? Printf ("Friday"); Break;
Case? 7:? Printf ("Saturday"); Break;
Default:? Break;
}
Return? 0;
} It seems to be the following:
# Contains? & ltstdio.h & gt
int? Major (Invalid) {
int? Day;
Printf ("Please? Input? Answer? Number? For what? Answer? Day:? ”);
Scanf("%d ",& days);
Switch (day) {
Case? 1:? Printf ("Monday \ n"); Break;
Case? 2:? Printf ("Tuesday \ n"); Break;
Case? 3:? Printf ("Wednesday \ n"); Break;
Case? 4:? Printf ("Thursday \ n"); Break;
Case? 5:? printf(" Friday \ n "); Break;
Case? 6:? Printf ("Saturday \ n"); Break;
Case? 7:? printf(" Sunday \ n "); Break;
Default:? Break;
}
Return? 0;
} Please select.