Days of the week are represented s three-letter strings ("Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun").
Write a function solution that, given a string S representing the day of the week and an integer K (between 0 and 500, inclusive), returns the day of the week that is K days later.
For example, given S = "Wed" and K = 2, the function should return "Fri".
Given S = "Sat" and K = 23, the function should return "Mon".
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference
and should not be submitted as is. We are not held liable for any misuse of the solutions.
Please see the frequently asked questions page
for further questions and inquiries.
Kindly complete the form.
Please provide a valid email address and we will get back to you within 24 hours.
Payment is through PayPal, Buy me a Coffee
or Cryptocurrency.
We are a nonprofit organization however we need funds to keep this organization operating
and to be able to complete our research and development projects.