#include <iostream>
#include <string>
using namespace std;
int Translator(int Choice);
int main()
{
int Choice;
string Leet;
int Outcome;
cout << "Hello. What would you like to do: ";
cout << "\n1 - Normal to leet\n";
cout << "2 - leet to Normal\n";
cin >> Choice;
Outcome = Translator(choice);
int x;
cin >> x;
return 0;
}
int Translator(int Choice)
{
int LorN;
string Leet;
switch(Choice)
{
case 1:
cout << "What is your sentence?: ";
cin >> Leet;
LorN = 1;
break;
case 2:
cout << "What is your sentence?: ";
cin >> Leet;
LorN = 2;
break;
default:
cout << "this isnt an option please choose again.";
}
if (LorN != 1 && LorN > 2)
{