Memuat array string dari konsol

String[] words = scanner.nextLine().split(" ");