Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
y_correct = 3;
assert(isequal(amountinput(1,2,3),y_correct))
|
2 | Pass |
y_correct = 1;
assert(isequal(amountinput(10),y_correct))
|
3 | Pass |
y_correct = 7;
assert(isequal(amountinput(0,7,3,6,2,7,4),y_correct))
|
Return the largest number that is adjacent to a zero
3751 Solvers
How to find the position of an element in a vector without using the find function
2477 Solvers
214 Solvers
135 Solvers
136 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!