- 2
How do I go about it please
import java.util.Scanner; public class Program { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String text = scanner.nextLine(); char[] arr = text.toCharArray(); //your code goes here for(int x; x<arr.length; x++) { System.out.println (x); } } }
1 Respuesta
+ 2
What is the code supposed to do?