0

How do we compare arrays against each other and order values according. .

The user chooses between 1-9 and recieved a secret word...they have as many guesses to get the word as to the value of the word ...so if word= HGV then user gets 3 guesses . My program needs to add the input to the UserGuess array and then check it against another array that holds the words...if UserGuess[i] == WordArray (i) then UserguessedRight Array (i) == WordArray(i)....

12th Dec 2016, 9:52 PM
Ed Hanlon
Ed Hanlon - avatar
1 Respuesta
+ 1
you should have a search for text based search. and referring to your order problem: look for quick sort. there should be some packages for this in java.util
12th Dec 2016, 10:38 PM
Loeschzwerg