Cody

Solution 2089904

Submitted on 12 Jan 2020 by Asif Newaz
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   Pass
x = 1; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))

a = 1 y = logical 1

2   Pass
x = 5; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))

a = 2 y = logical 1

3   Pass
x = 125; y_correct = 0; assert(isequal(your_fcn_name(x),y_correct))

a = 5.9854 y = logical 0

4   Pass
x = 5985; y_correct = 1; assert(isequal(your_fcn_name(x),y_correct))

a = 18 y = logical 1