Cody

Solution 1994764

Submitted on 29 Oct 2019 by Nikolaos Nikolaou
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
x = 301; y_correct = 'uint16'; assert(isequal(findclass(x),y_correct))

y = 'uint16'

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

y = 'int32'

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

y = 'uint8'

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

y = 'int8'