I need to reverse letters in each string in a program that encrypts/decrypts messages in 3 ways. I've done two but can't figure out the last one. I'll just show you guys an example of what I need to do.
the quick brown fox
eht kciuq nworb xof
I can get it to reverse using the StringBuilder class method reverse() but that gives me: "xof nworb kciuq eht" which is the encryption for another class not this one.
Any suggestions? If anyone still isn't clear on what I need to do please let me know.