Cody

Solution 1532478

Submitted on 17 May 2018
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   Fail
s = 1; y_correct = 6; assert(isequal(even(s),y_correct)) s = -1; y_correct = 8; assert(isequal(even(s),y_correct))

Error in solution Line: 2 Column: 9 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

Suggested Problems

More from this Author16