Computer Science, asked by anirbangoswami90, 4 months ago

Write a program to accept day of a week in number.

Answers

Answered by nakkadevi1977
0

Answer:

char *(a[7])={"monday","tuesday","wednesday","thursday","friday","saturday","sunday"};

char *(a[7])={"monday","tuesday","wednesday","thursday","friday","saturday","sunday"};int main() {

char *(a[7])={"monday","tuesday","wednesday","thursday","friday","saturday","sunday"};int main() {printf("Enter the week day:");

char *(a[7])={"monday","tuesday","wednesday","thursday","friday","saturday","sunday"};int main() {printf("Enter the week day:");scanf("%d",&m);

char *(a[7])={"monday","tuesday","wednesday","thursday","friday","saturday","sunday"};int main() {printf("Enter the week day:");scanf("%d",&m);return 0; }

char *(a[7])={"monday","tuesday","wednesday","thursday","friday","saturday","sunday"};int main() {printf("Enter the week day:");scanf("%d",&m);return 0; }void weekday(int *m) {

char *(a[7])={"monday","tuesday","wednesday","thursday","friday","saturday","sunday"};int main() {printf("Enter the week day:");scanf("%d",&m);return 0; }void weekday(int *m) {{

char *(a[7])={"monday","tuesday","wednesday","thursday","friday","saturday","sunday"};int main() {printf("Enter the week day:");scanf("%d",&m);return 0; }void weekday(int *m) {{} else.

Similar questions