subject

Days of the week are represented as three-letter strings ("mon", "tue", "wed", "thu", "fri", "sat", "sun"). write a javascript function solution that, given a string s representing the day of the week and an integer k (between 0 and 500), 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".

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 01:30
How will you cite information that is common knowledge in your research paper?
Answers: 1
question
Computers and Technology, 25.06.2019 01:30
The study of how to design software, solve problems such as computer security threats, or come up with better ways of handling data storage
Answers: 1
question
Computers and Technology, 25.06.2019 05:30
The police department is excited to have some new motorcycle units. one officer said that these motorcycles can go from 0 miles per hour to 80 miles per hour in just 6 seconds. the officer is describing the motorcycle's a. average speed. b. distance. c. average velocity. d. acceleration.
Answers: 1
question
Computers and Technology, 25.06.2019 17:30
Conrad is an architect who has just been sued because a buliding he design has collapsed and injured several people. what type of insurance would him with court costs and settlements
Answers: 3
You know the right answer?
Days of the week are represented as three-letter strings ("mon", "tue", "wed", "thu", "fri", "sat",...
Questions
question
Mathematics, 24.11.2021 14:40
question
Mathematics, 24.11.2021 14:50
question
Mathematics, 24.11.2021 14:50
question
English, 24.11.2021 14:50