Cody

Solution 1113790

Submitted on 1 Feb 2017 by Jean-Marie Sainthillier
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
s = 1; y_correct = 6; assert(isequal(even(s),y_correct)) s = -1; y_correct = 8; assert(isequal(even(s),y_correct))

ans = 6 ans = 8