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))
|
2 | Pass |
x = 10;
y_correct = 524800;
assert(isequal(sum_int(x),y_correct))
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
35547 Solvers
302 Solvers
Natural numbers in string form
347 Solvers
379 Solvers
Height of a right-angled triangle
448 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!