Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
n = 20;
m = 5;
total = 190;
assert(isequal(no_digit_sum(n,m),total))
|
2 | Pass |
%%
n = 10;
m = 5;
total = 50;
assert(isequal(no_digit_sum(n,m),total))
|
3 | Pass |
%%
n = 33;
m = 3;
total = 396;
assert(isequal(no_digit_sum(n,m),total))
|
Test if a Number is a Palindrome without using any String Operations
181 Solvers
Number of digits in an integer
336 Solvers
436 Solvers
273 Solvers
1077 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!