What is the problem here?
good job
Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
n = 1;
ans_correct = true;
assert(isequal(is_it_odd(n),ans_correct))
tf =
True
True
|
2 | Fail |
n = 2;
ans_correct = false;
assert(isequal(is_it_odd(n),ans_correct))
tf =
False
False
|
3 | Fail |
n = 28;
ans_correct = false;
assert(isequal(is_it_odd(n),ans_correct))
tf =
False
False
|
4 | Fail |
n = 453;
ans_correct = true;
assert(isequal(is_it_odd(n),ans_correct))
tf =
True
True
|
5 | Fail |
n = 17;
ans_correct = true;
assert(isequal(is_it_odd(n),ans_correct))
tf =
True
True
|
6 | Fail |
n = 16;
ans_correct = false;
assert(isequal(is_it_odd(n),ans_correct))
tf =
False
False
|
Project Euler: Problem 3, Largest prime factor
379 Solvers
Basic electricity in a dry situation
488 Solvers
965 Solvers
369 Solvers
Find the sides of an isosceles triangle when given its area and height from its base to apex
449 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!