Last active
December 12, 2015 12:48
-
-
Save codyduval/4774891 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.Scanner; | |
| import java.util.*; | |
| public class go { | |
| public static void main(String[] args) { | |
| ArrayList<Character> wordCharacters = new ArrayList<Character>(); | |
| System.out.print("\nWelcome to Words with Chums"); | |
| Scanner consoleScanner = new Scanner(System.in); | |
| System.out.print("\nType in your word to add to the board: "); | |
| String word = consoleScanner.next(); | |
| for (int i = 0;i < word.length(); i++){ | |
| System.out.println(word.charAt(i)); | |
| wordCharacters.add(word.charAt(i)); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment