Problem 56. Scrabble Scores
Solution Stats
Problem Comments
-
2 Comments
Jonas
on 10 Jun 2020
Why don't you provide the counting system inside the function? What's the point of retyping it from wiki?
Peter
on 16 Aug 2023
@Jonas
I agree
case {'l','s','u','n','r','t','o','a','i','e'}
score=1
case {'g','d'}
score=2
case {'b','c','m','p'}
score=3
case {'f','h','v','w','y'}
score=4
case {'k'}
score=5
case {'j','x'}
score=8
case {'q','z'}
score=10
Solution Comments
Show commentsProblem Recent Solvers1788
Suggested Problems
-
1338 Solvers
-
How long is the longest prime diagonal?
384 Solvers
-
248 Solvers
-
Create a Multiplication table matrix...
391 Solvers
-
295 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!