Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 10;
m=2;
y_correct = 1814400;
assert(isequal(your_fcn_name(m,n),y_correct))
y =
1814400
|
2 | Pass |
n = 4;
m=3;
y_correct = 4;
assert(isequal(your_fcn_name(m,n),y_correct))
y =
4
|
3 | Pass |
n = 10;
m=5;
y_correct = 30240;
assert(isequal(your_fcn_name(m,n),y_correct))
y =
30240
|
Extract leading non-zero digit
1205 Solvers
381 Solvers
495 Solvers
Sum of first n terms of a harmonic progression
257 Solvers
238 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!