Cody

Solution 1792948

Submitted on 19 Apr 2019
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 = 301; y_correct = 'uint16'; assert(isequal(findclass(x),y_correct))

Error in solution Line: 12 Column: 1 Illegal use of reserved keyword "end".

2   Fail
x = -9999999; y_correct = 'int32'; assert(isequal(findclass(x),y_correct))

Error in solution Line: 12 Column: 1 Illegal use of reserved keyword "end".

3   Fail
x = 6; y_correct = 'uint8'; assert(isequal(findclass(x),y_correct))

Error in solution Line: 12 Column: 1 Illegal use of reserved keyword "end".

4   Fail
x = -100; y_correct = 'int8'; assert(isequal(findclass(x),y_correct))

Error in solution Line: 12 Column: 1 Illegal use of reserved keyword "end".