Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
n = 20;
m = 5;
total = 190;
assert(isequal(no_digit_sum(n,m),total))
total =
190
|
2 | Pass |
%%
n = 10;
m = 5;
total = 50;
assert(isequal(no_digit_sum(n,m),total))
total =
50
|
3 | Pass |
%%
n = 33;
m = 3;
total = 396;
assert(isequal(no_digit_sum(n,m),total))
total =
396
|
Magic is simple (for beginners)
2749 Solvers
MATCH THE STRINGS (2 CHAR) very easy
250 Solvers
516 Solvers
583 Solvers
277 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!