Test | Status | Code Input and Output |
---|---|---|
1 | Fail |
x = 15;
y_correct = 1;
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = 15.25;
y_correct = 0;
assert(isequal(your_fcn_name(x),y_correct))
|
3 | Fail |
x = 10;
y_correct = 1;
assert(isequal(your_fcn_name(x),y_correct))
|
Return the largest number that is adjacent to a zero
3749 Solvers
2401 Solvers
360 Solvers
Pernicious Anniversary Problem
735 Solvers
464 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!