This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
x = 7;
y_correct = 8256;
assert(isequal(sum_int(x),y_correct))
y =
8256
|
2 | Pass |
%%
x = 10;
y_correct = 524800;
assert(isequal(sum_int(x),y_correct))
y =
524800
|
Find the sum of all the numbers of the input vector
31942 Solvers
Find the two most distant points
1628 Solvers
657 Solvers
452 Solvers
266 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!