Answered step by step
Verified Expert Solution
Question
1 Approved Answer
ROT13 (rotate by 13 places) is a simple letter substitution cipher that is an example of a Caesar cipher used by Julius Caesar. ROT13 replaces
ROT13 (rotate by 13 places) is a simple letter substitution cipher that is an example of a Caesar cipher used by Julius Caesar. ROT13 replaces a letter with the letter 13 letters after it in the alphabet. (A==>N, B==>O, C==>P, etc...) So, the translation of the word COMPUTER using ROT13 would be PBZCHGRE.
Write a C++ program that asks the user for the name of an input file and translates the contents of that file using ROT13. Your program should also save the results of the translation into another file with a ".rot13" file extension.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started