Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 1:6;
y_correct = 60;
assert(isequal(your_fcn_name(x),y_correct))
|
2 | Pass |
x = 1:20;
y_correct = 232792560;
assert(isequal(your_fcn_name(x),y_correct))
|
732 Solvers
1051 Solvers
267 Solvers
Arrange vector in ascending order
624 Solvers
400 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!