Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
a = 1;
b = 2;
out = sumDigits(a);
assert(isequal(out, b))
|
2 | Pass |
%%
a = 10;
b = 7;
out = sumDigits(a);
assert(isequal(out, b))
|
3 | Pass |
%%
a = 16;
b = 25;
out = sumDigits(a);
assert(isequal(out, b))
|
Is my wife right? Now with even more wrong husband
1241 Solvers
404 Solvers
How many trades represent all the profit?
520 Solvers
353 Solvers
1222 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!