Write a program to accept day of a week in number.
Answers
Answered by
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
Business Studies,
2 months ago
Social Sciences,
2 months ago
Math,
4 months ago
Math,
4 months ago
English,
10 months ago