Cody

Solution 1668361

Submitted on 7 Nov 2018 by Maryam Majidi
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 = 5; y_correct = 'true'; assert(isequal(prime(x),y_correct)) x = 4; y_correct = 'false'; assert(isequal(prime(x),y_correct))

y = logical 1 y = 'true' y = logical 0 y = 'false'