Cody

Problem 2883. prime test

Solution 3246853

Submitted on 17 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))

Undefined function 'prime' for input arguments of type 'double'. Error in your_fcn_name (line 2) y = prime(100); Error in Test1 (line 2) assert(isequal(your_fcn_name(),y_correct))

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!