Given a year and a weekday, determine how many months of that year had five of those weekdays. It is kind of easy to find.
Example:
y = 2014
d = 'Sun'
result = 4
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers71
Suggested Problems
-
Increment a number, given its digits
684 Solvers
-
Is my wife right? Now with even more wrong husband
1340 Solvers
-
Are all the three given point in the same line?
601 Solvers
-
Remove entire row and column in the matrix containing the input values
554 Solvers
-
Find out sum and carry of Binary adder
1699 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!