Basically I'm trying to make a code in Java where I am inputting 5 letters, for example "Hello". The code needs to spit an output with each of the letters spaced apart by ten spacing. I also have to use printf and space them out using the %. I was able to do this without using %, by using .replace, however that's not what I'm supposed to be doing. So the output should be: H e l l o
Scanner scanner = new Scanner(System.in);
System.out.println("Enter five chatracters: ");
String charoutput = scanner.next();
String charoutput2 = charoutput.replace("", " ");
System.out.println("You have entered: " +charoutput2);