Write a C++ named nameOfDay() that returns one of the strings, Sunday, Mondays, Tuesday, Wednesday, Thursday, Friday, or Saturday depending on the integer value passed into the method. The corresponding is that if a 1 is passed into the method, the method returns Sunday, a 2 causes the string Monday to be returned, and so on. The header line for this method is
Your program should request for m, n and r. r cannot be 0