This solution is outdated. To rescore this solution, sign in.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
str = 'a';
score = 1;
assert(isequal(scrabble_score(str),score))
ans =
1
|
2 | Pass |
%%
str = 'matlab';
score = 10;
assert(isequal(scrabble_score(str),score))
ans =
10
|
3 | Pass |
%%
str = 'quetzalcoatl';
score = 32;
assert(isequal(scrabble_score(str),score))
ans =
32
|
9831 Solvers
188 Solvers
Who has power to do everything in this world?
318 Solvers
convert matrix to single column
307 Solvers
Convert from Fahrenheit to Celsius
7188 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!