Preferably done in C++, but if you are comfortable in Java then I can translate
ID: 3756604 • Letter: P
Question
Preferably done in C++, but if you are comfortable in Java then I can translate it as well.
7 THE LEET STRING PROBLEM Write a function strToLeet () that accepts an input-output string parameter and converts the string to (or from) "leet speak" (aka 1337 speak), an internet dialect where various letters are replaced by other letters/numbers. The second, bool parameter, with a default value of true will determine whether to translate to leet or to English. Return the converted string. Original character Leet' character 1 (lowercase L) 4 7 s (at the end of a word only)2 Here are some examples: string s·'four score and"; cout