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))
|
1398 Solvers
1726 Solvers
Back to basics 22 - Rotate a matrix
763 Solvers
Set the array elements whose value is 13 to 0
935 Solvers
Fahrenheit to Celsius converter
358 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!