Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
s = 'hello'
c_correct = 86400;
assert(isequal(word_product(s),c_correct))
s =
hello
ans =
[]
|
2 | Pass |
%%
s = 'Fantastic'
c_correct = 17236800;
assert(isequal(word_product(s),c_correct))
s =
Fantastic
ans =
[]
|
381 Solvers
Sum of first n terms of a harmonic progression
257 Solvers
3067 Solvers
321 Solvers
2336 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!