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

I need some who can really help please!! The first question is about dayTpe a) s

ID: 3613833 • Letter: I

Question

I need some who can really help please!! The first question is about dayTpe a) set the day, b) Print the day, c) Return the day; d)Return the next day; f) return the day g) return previous day, and calculate and return the day by adding certain daysto the the current day . for example, if the current day is Mondayand we add 4 days, the day to be returned is friday, similarly, istoday is Teusday and we add 13 days, the day to be returned isMonday I need some who can really help please!! The first question is about dayTpe a) set the day, b) Print the day, c) Return the day; d)Return the next day; f) return the day g) return previous day, and calculate and return the day by adding certain daysto the the current day . for example, if the current day is Mondayand we add 4 days, the day to be returned is friday, similarly, istoday is Teusday and we add 13 days, the day to be returned isMonday

Explanation / Answer

please rate - thanks best I can do with what you've defined #include #include using namespace std; class dayType { public: void dayType::setdays() {    days[0] = "Sunday";    days[1] = "Monday";    days[2] = "Tuesday";    days[3] = "Wednesday"; days[4] = "Thursday";    days[5] = "Friday";    days[6] = "Saturday"; } dayType::dayType(string d) {day=d; setdays(); } string dayType::prev() {int i; for(i=0;i