Glad you got it.
Type: Posts; User: Norm
Glad you got it.
Define a String at the beginning of getPosition()
In each case statement replace System.out.print with an assignment statement that sets the String to the value for the char.
At the end of the...
Use the case statements in getPosition to set a String for the char passed to it. Have getPosition return the String.
Why do you want to have the method return its argument?
Why not have it convert its code letter into a String and return that String that you can print out where you want to see the String instead...
Did you read the end of post #2?
You should call that method to get the String you want.
I don't see what the difference is between the "should look like" and the current output?
What does the program output look like now?
Why does the getPosition() method return its argument instead of a String?