I am writing a simple program that is supposed to take a user input and convert it to char and for each char it should change it to the designated change.
I'm using switch statements to do this.
Ex.
blue
b = bravo
l = llama
u = union
e = excite
That is just an example.
This is just a console program and I am wondering if it is possible to do this within the console or if a JOptionPane has to be used?
if it can be done in the console can I please have a pseudo-code that I could try to implement.
Hope this stuff makes sense.