Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

write a function called datebook( ) that doesn\'t return anything and that accep

ID: 3618650 • Letter: W

Question

write a function called datebook( ) that doesn't return anything and that accept an array containing the days of the week asyou defined it, a c-string containig the name of a month, and anint indicating on what day of the week the first day of the monthfalls. (the function "knows" that there are 7 days in a week) Havethe function print out to the console a list of the days in themonth, like the following. This should be done with effective useof loops. friday, may1 saturday, may2 sunday, may 3 monday, may 4 . . . write a function called datebook( ) that doesn't return anything and that accept an array containing the days of the week asyou defined it, a c-string containig the name of a month, and anint indicating on what day of the week the first day of the monthfalls. (the function "knows" that there are 7 days in a week) Havethe function print out to the console a list of the days in themonth, like the following. This should be done with effective useof loops. friday, may1 saturday, may2 sunday, may 3 monday, may 4 . . .

Explanation / Answer

databook() { char days[10][7],mon[10]; char fd; for(i=0;i