Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
inStr = 'doug';
shift = 10;
outStr = 'nyeq';
assert(isequal(cypher(inStr, shift),outStr))
c =
nyeq
|
2 | Pass |
%%
inStr = 'thequickbrownfox';
shift = 5;
outStr = 'ymjvznhpgwtbsktc';
assert(isequal(cypher(inStr, shift),outStr))
c =
ymjvznhpgwtbsktc
|
3 | Pass |
%%
inStr = 'thecrowfliesatmidnight';
shift = 22;
outStr = 'pdaynksbheaowpiezjecdp';
assert(isequal(cypher(inStr, shift),outStr))
c =
pdaynksbheaowpiezjecdp
|
Renaming a field in a structure array
731 Solvers
Rotate and display numbered tile
239 Solvers
Return the first and last character of a string
3452 Solvers
559 Solvers
406 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!