Cody

Solution 406071

Submitted on 19 Feb 2014 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
%% x = '01-Jan-1990'; y_correct = 6; assert(isequal(FindMyBday(x),y_correct))
2   Pass
%% x = '04-Sep-1985'; y_correct = 6; assert(isequal(FindMyBday(x),y_correct))
3   Pass
%% x = '29-Feb-1970'; y_correct = 11; assert(isequal(FindMyBday(x),y_correct))
4   Pass
%% x = '01-Aug-2000'; y_correct = 6; assert(isequal(FindMyBday(x),y_correct))
5   Pass
%% x = '26-Jun-2012'; y_correct = 6; assert(isequal(FindMyBday(x),y_correct))
6   Pass
%% x = '16-Jun-1983'; y_correct = 5; assert(isequal(FindMyBday(x),y_correct))