public class Char { public static void main(String[] args) { System.out.println("Please enter your words"); Scanner scan = new Scanner(System.in); String word = scan.nextLine(); for(char a : word.toCharArray()) { System.out.println(a); } } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)