Cody

Solution 1884880

Submitted on 26 Jul 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Fail
x = 0; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))

Error in solution: Line: 2 Column: 10 Invalid use of operator.

2   Fail
x = 50; y_correct = 0; assert(isequal(your_fcn_name(x),y_correct))

Error in solution: Line: 2 Column: 10 Invalid use of operator.

3   Fail
x = 7; y_correct = 0; assert(isequal(your_fcn_name(x),y_correct))

Error in solution: Line: 2 Column: 10 Invalid use of operator.

4   Fail
x = 343; y_correct = 0; assert(isequal(your_fcn_name(x),y_correct))

Error in solution: Line: 2 Column: 10 Invalid use of operator.

Suggested Problems