Cody

Solution 1726646

Submitted on 13 Feb 2019 by Alfonso Nieto-Castanon
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
year = 1902; foms_correct = 2; assert(isequal(day_counter( year ),foms_correct))

2   Pass
year = 2002; foms_correct = 2; assert(isequal(day_counter( year ),foms_correct))

3   Pass
year = 1996; foms_correct = 3; assert(isequal(day_counter( year ),foms_correct))

4   Pass
year = 1885; foms_correct = 1; assert(isequal(day_counter( year ),foms_correct))