Cody

Solution 1541430

Submitted on 27 May 2018 by bainhome
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
y = 2016; m = 1; d = 1; y_correct = 24; assert(isequal(your_fcn_name(y,m,d),y_correct))

2   Pass
y = 2016; m = 12; d = 31; y_correct = 24; assert(isequal(your_fcn_name(y,m,d),y_correct))

3   Pass
y = 1965; m = 12; d = 7; y_correct = 24; assert(isequal(your_fcn_name(y,m,d),y_correct))

4   Pass
y = 2016; m = 10; d = 30; y_correct = 25; assert(isequal(your_fcn_name(y,m,d),y_correct))

5   Pass
y = 2016; m = 3; d = 27; y_correct = 23; assert(isequal(your_fcn_name(y,m,d),y_correct))