Question: Please writte a C++ program that will take a character and shift it 13 letters forward ROT 13 i would like to use Switch statement
Please writte a C++ program that will take a character and shift it 13 letters forward ROT 13 i would like to use Switch statement something similar like the above code. example
Hello HELLO will print out URYYB URUUB Thank You
function rot13(str) { var code = '';
for (...) { switch (code) { case 'A': // add 'N' to `code` break;
case 'B': // add 'O' to `code` break;
... } }
return code;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
