Cody

Solution 1551250

Submitted on 6 Jun 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
x = 12; y_correct = 'Look Up'; assert(isequal(your_fcn_name(x),y_correct))

Error in solution Line: 3 Column: 3 Illegal use of reserved keyword "elseif".

2   Fail
x = 3; y_correct = 'Look Right'; assert(isequal(your_fcn_name(x),y_correct))

Error in solution Line: 3 Column: 3 Illegal use of reserved keyword "elseif".

3   Fail
x = 6; y_correct = 'Look Back'; assert(isequal(your_fcn_name(x),y_correct))

Error in solution Line: 3 Column: 3 Illegal use of reserved keyword "elseif".

4   Fail
x = 9; y_correct = 'Look Left'; assert(isequal(your_fcn_name(x),y_correct))

Error in solution Line: 3 Column: 3 Illegal use of reserved keyword "elseif".

Suggested Problems

More from this Author8