Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
inStr = 'doug';
shift = 10;
outStr = 'nyeq';
assert(isequal(cypher(inStr, shift),outStr))
|
2 | Pass |
inStr = 'thequickbrownfox';
shift = 5;
outStr = 'ymjvznhpgwtbsktc';
assert(isequal(cypher(inStr, shift),outStr))
|
3 | Pass |
inStr = 'thecrowfliesatmidnight';
shift = 22;
outStr = 'pdaynksbheaowpiezjecdp';
assert(isequal(cypher(inStr, shift),outStr))
|
1223 Solvers
Least common multiple of many numbers
189 Solvers
Sum of first n terms of a harmonic progression
257 Solvers
420 Solvers
641 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!