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))
|
Return the 3n+1 sequence for n
6169 Solvers
2500 Solvers
Magic is simple (for beginners)
2754 Solvers
Sum of odd numbers in a matrix
311 Solvers
Deleting an element in a matrix
325 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!