Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
inStr = 'doug';
shift = 10;
outStr = 'nyeq';
assert(isequal(cypher(inStr, shift),outStr))
modified_alphabet =
klmnopqrstuvwxyzabcdefghij
ans =
nyeq
|
2 | Pass |
%%
inStr = 'thequickbrownfox';
shift = 5;
outStr = 'ymjvznhpgwtbsktc';
assert(isequal(cypher(inStr, shift),outStr))
modified_alphabet =
fghijklmnopqrstuvwxyzabcde
ans =
ymjvznhpgwtbsktc
|
3 | Pass |
%%
inStr = 'thecrowfliesatmidnight';
shift = 22;
outStr = 'pdaynksbheaowpiezjecdp';
assert(isequal(cypher(inStr, shift),outStr))
modified_alphabet =
wxyzabcdefghijklmnopqrstuv
ans =
pdaynksbheaowpiezjecdp
|
Return the largest number that is adjacent to a zero
3749 Solvers
6281 Solvers
253 Solvers
5462 Solvers
Solving Quadratic Equations (Version 1)
427 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!