Say, Mr. X's birthday is on 20th July, 2014. It was Sunday. Determine the closest year when his birthday will again be on Sunday. In this case it is, 2025.
Input is a date string representing Mr. X's birthday. Return the year as double.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers82
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52807 Solvers
-
7467 Solvers
-
Find state names that start with the letter N
1436 Solvers
-
824 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
513 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!