// This program will let the user input a letter from the screen. The program will then
// use that letter and give the translation of the inputted letter to the ROT13 letter on
// the screen.
#include <cmath>
#include <ismanip>
#include <iostream>
usingnamespace std;
int main ()
// Input variables
{
char letter;
cout << “Please enter a letter” << endl;
cin >> letter;
// Figuring the ROT13 Letter
if (letter == 'A')
cout << “The letter you entered is”<< “ “ << letter<< endl;
cout << The ROT13 letter translation is “<< “ “ << “N”<< endl;
elseif (letter == 'B')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “O” << endl;
elseif (letter == 'C')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “P” << endl;
elseif (letter == 'D')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “Q” << endl;
elseif (letter == 'E')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “R” << endl;
elseif (letter == 'F')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “S” << endl;
elseif (letter == 'G')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “T” << endl;
elseif (letter == 'H')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “U” << endl;
elseif (letter == 'I')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “V” << endl;
elseif (letter == 'J')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “W” << endl;
elseif (letter == 'K')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “X” << endl;
elseif (letter == 'L')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “Y” << endl;
elseif (letter == 'M')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “Z” << endl;
elseif (letter == 'N')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “A” << endl;
elseif (letter == 'O')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “B” << endl;
elseif (letter == 'P')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “C” << endl;
elseif (letter == 'Q')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “D” << endl;
elseif (letter == 'R')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “E” << endl;
elseif (letter == 'S')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “F” << endl;
elseif (letter == 'T')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “G” << endl;
elseif (letter == 'U')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “H” << endl;
elseif (letter == 'V')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “I” << endl;
elseif (letter == 'W')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “J” << endl;
elseif (letter == 'X')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “K” << endl;
elseif (letter == 'Y')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “L” << endl;
elseif (letter == 'Z')
cout << “The letter you entered is” << “ “ << letter << endl;
cout << The ROT13 letter translation is “ << “ “ << “M” << endl;
}
return 0;
All of our telepath are currently on vacation, please stand by intil someone will guess your error.
Seriously, post the error you are getting.
What can be seen from your snippet, is strange quotes: these: “ are not these: ". They are different and compiler would not threat former as proper quotes.
The problem is probably that the project file/path has spaces.
If you' re able to, place doublequotes around the entire filepath.
Also the project has errors and as already said will not compile.