UNB/ CS/ David Bremner/ teaching/ java/ Guess.java
public class Guess{
   *   @param result is the array to be filled in
   *   @param solution is the array containing the solution 
   *    to be guessed
   *   @param guess is the guessed character
   *   @return the number of positions filled in

  static int fillin(char [] result, char[] solution, 
                    char guess){
    int nCorrect=0;

    for (int i=0; i< result.length; i++){

      if (result[i]== '_' && solution[i] == guess){


    return nCorrect;
//@keyword: array