Cody

Solution 1864712

Submitted on 3 Jul 2019 by Timothy Allen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
s = 'hello' c_correct = 86400; assert(isequal(word_product(s),c_correct))

s = 'hello' num = 8 num = 5 num = 12 num = 12 num = 15

2   Pass
s = 'Fantastic' c_correct = 17236800; assert(isequal(word_product(s),c_correct))

s = 'Fantastic' num = [] num = 6 num = 1 num = 14 num = 20 num = 1 num = 19 num = 20 num = 9 num = 3