Cody

Solution 2034679

Submitted on 25 Nov 2019
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   Fail
str = 'a'; score = 1; assert(isequal(scrabble_score(str),score))

Error in solution: Line: 6 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "scrabble_score".)

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

Error in solution: Line: 6 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "scrabble_score".)

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

Error in solution: Line: 6 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "scrabble_score".)

4   Fail
str = 'quartz'; score = 24; assert(isequal(scrabble_score(str),score))

Error in solution: Line: 6 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "scrabble_score".)

5   Fail
str = 'jackal'; score = 19; assert(isequal(scrabble_score(str),score))

Error in solution: Line: 6 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "scrabble_score".)