Computer Science, asked by busimatchiye, 4 months ago

(In Javascript) Days of the week are represented as three-letter String("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), return 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".

Answers

Answered by rajatsharma444
0

Answer:

gkjvkgogiibkgkgogokvlvlvp

Similar questions