well i don't know if u like this, u can use charAt()
u got to form the loop
for (int i = 0; i<stringsize; i++) {
System.out.println(userInput.charAt(i) + "\n");
}
this way it will read the char from the string by the location and then output it to the command prompt and the \n is for next line