This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
n1 = 3;
n2 = 5;
tf_correct = 0;
assert(isequal(prime_to_each_other(n1, n2),tf_correct))
|
2 | Pass |
%%
n1 = 27;
n2 = 123;
tf_correct = 1;
assert(isequal(prime_to_each_other(n1, n2),tf_correct))
|
3 | Pass |
%%
n1 = 36;
n2 = 49;
tf_correct = 0;
assert(isequal(prime_to_each_other(n1, n2),tf_correct))
|
4 | Pass |
%%
n1 = 27;
n2 = 28;
tf_correct = 0;
assert(isequal(prime_to_each_other(n1, n2),tf_correct))
|
1310 Solvers
Who is the smartest MATLAB programmer?
561 Solvers
255 Solvers
Matlab Basics II - Max & Index of Max
188 Solvers
259 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!