Cody

Solution 1998995

Submitted on 1 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
aStr = 'dan'; bStr = 'nan'; cStr = 'nora'; out = [921 121 1042]; assert(isequal(cryptoAdd(aStr,bStr,cStr),out))

Error in solution: Line: 3 Column: 3 At least one END is missing: the statement may begin here.

2   Fail
aStr = 'wait'; bStr = 'all'; cStr = 'gifts'; out = [9608 677 10285]; assert(isequal(cryptoAdd(aStr,bStr,cStr),out))

Error in solution: Line: 3 Column: 3 At least one END is missing: the statement may begin here.

3   Fail
aStr = 'memo'; bStr = 'from'; cStr = 'homer'; out = [8485 7358 15843]; assert(isequal(cryptoAdd(aStr,bStr,cStr),out))

Error in solution: Line: 3 Column: 3 At least one END is missing: the statement may begin here.

4   Fail
%aStr = 'coca'; %bStr = 'cola'; %cStr = 'oasis'; %out = [8186 8106 16292]; %assert(isequal(cryptoAdd(aStr,bStr,cStr),out))

Error in solution: Line: 3 Column: 3 At least one END is missing: the statement may begin here.