Problem 56. Scrabble Scores

Solution 436314

Submitted on 29 Apr 2014 by Daniel Pereira
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
%% str = 'a'; score = 1; assert(isequal(scrabble_score(str),score))

2   Pass
%% str = 'matlab'; score = 10; assert(isequal(scrabble_score(str),score))

3   Pass
%% str = 'quetzalcoatl'; score = 32; assert(isequal(scrabble_score(str),score))

Suggested Problems

More from this Author95

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!