Cody

Problem 42711. Find Month & day for given day number of a year

Solution 2719881

Submitted on 21 Jul 2020 by Raghunadh N
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
x = 23; vec_crt=[1 23]; assert(isequal(your_fcn_name(x),vec_crt))

y = 1 23 y = 1 23

2   Pass
x = 54; vec_crt=[2 23]; assert(isequal(your_fcn_name(x),vec_crt))

y = 2 23 y = 2 23

3   Pass
x = 231; vec_crt=[8 18]; assert(isequal(your_fcn_name(x),vec_crt))

y = 8 18 y = 8 18

4   Pass
x = 300; vec_crt=[10 26]; assert(isequal(your_fcn_name(x),vec_crt))

y = 10 26 y = 10 26

Suggested Problems

More from this Author18