Cody

Problem 2883. prime test

Solution 3316453

Submitted on 21 Oct 2020
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
y_correct = 97; assert(isequal(your_fcn_name(),y_correct))

c = 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 y = 43 47

Assertion failed.

Suggested Problems

More from this Author4

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!