Cody

Solution 263305

Submitted on 19 Jun 2013 by Venu Lolla
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   Pass
1 %% x = 'Hello World!'; y_correct = 'Ifmmp Xpsme!'; assert(isequal(si(x),y_correct)) 2 %% x = 'Can I help you?'; y_correct = 'Dbo J ifmq zpv?'; assert(isequal(si(x),y_correct)) 3 %% x = 'Mary had a liitle lamb.'; y_correct = 'Nbsz ibe b mjjumf mbnc.'; assert(isequal(si(x),y_correct))
ans = 1 f = @(x)(x>='A'&&x<='Z')||(x>='a'&&x<='z') ans = Ifmmp Xpsme! ans = 2 f = @(x)(x>='A'&&x<='Z')||(x>='a'&&x<='z') ans = Dbo J ifmq zpv? ans = 3 f = @(x)(x>='A'&&x<='Z')||(x>='a'&&x<='z') ans = Nbsz ibe b mjjumf mbnc.