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))
|
17464 Solvers
Return elements unique to either input
550 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
267 Solvers
Create a two dimensional zero matrix
354 Solvers
Side of an equilateral triangle
2595 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!