Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 22;
y_correct = 0;
assert(isequal(prime(x),y_correct))
x = 22;
y_correct = 0;
assert(isequal(prime(x),y_correct))
x = 21;
y_correct = 0;
assert(isequal(prime(x),y_correct))
x = 5;
y_correct = 1;
assert(isequal(prime(x),y_correct))
x = 3;
y_correct = 1;
assert(isequal(prime(x),y_correct))
|
6720 Solvers
2261 Solvers
Back to basics 23 - Triangular matrix
634 Solvers
07 - Common functions and indexing 5
314 Solvers
274 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!