Problem 2268. Given a number between 1-365 (a day number in a non leap year) , find what day of what month it is.
For a given number between 1-365 (a day number in a non leap year), you should check which day of which month it is.
for example,
n=35 should give back 4 Feb.
Solution Stats
Problem Comments
-
2 Comments
Ned Gulley
on 7 Apr 2014
Hi Hassan: Thanks for the problem! You might want to be clear that this is for (I assume) a non leap year.
Hassan Dehghani
on 24 Apr 2014
Thanks Ned, DONE ;)
Solution Comments
Show commentsProblem Recent Solvers30
Suggested Problems
-
Remove any row in which a NaN appears
8670 Solvers
-
Extract leading non-zero digit
2189 Solvers
-
794 Solvers
-
find the maximum element of the matrix
518 Solvers
-
Find the position of first minimum value in an integer array with numbers
178 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!