I am having error: cannot find symbol but i think that my variables are all declared and initialized
<p>it is supposed to be a word guesser game, giving 5 chances to enter a consonant before guessing the word it is still not complete but i have to know if this part of the program runs well. i think the variables that are giving me trouble are consonants, vowel, number  Here is my code: ps im very new to java</p>

<pre><code>public class julia1 {

public static void main(String[] args) {

     System.out.print("enter text to guess: ");
     String w = Keyboard.readString();

     String asterix = "";

     for(int c = 0; c &lt; w.length(); c++){
        if(w.charAt(c)==(' ')) asterix = asterix + " ";
        else asterix = asterix + "*";
        }
     System.out.println(asterix);


     for (int trys = 0; trys &lt;=5; trys++){ 
        String temp=""; 
        System.out.print("enter a consonant: ");
        char c1 = Keyboard.readChar();
    for (int i = 0; i &lt; w.length(); i++)
    {
        boolean character  = false, vowel = false, consonant =false,                   number= false;
        if (w.charAt(i) &gt;= 'a' &amp;&amp;w.charAt(i)&lt;='z')
        character = true;

        if (w.charAt(i) &gt;= 'A' &amp;&amp; w.charAt(i)&lt;='Z')
        character = true;

        if (character == true){
            switch (w.charAt(i)){
                case 'a': case 'A': case 'o': case 'O':
                case 'e': case 'E':
                case 'i': case 'I':
                case 'u': case 'U': vowel = true; break;

        if (c1 &gt;= '0' &amp;&amp; c1 &lt;='9')
            number=true;        
                default : consonant = true;

            }
        }
    }
      for(int c = 0; c &lt; w.length(); c++){ 
          if((w.charAt(c)==c1) &amp;&amp; (consonant == true ))
             temp = temp + c1;
             else if (vowel==true) 
                  {temp = temp + asterix.charAt(c);
                  System.out.println("this is a vowel not consonant");
                  }
                 else
                  temp = temp + asterix.charAt(c)&amp;&amp; number==true; 
                  System.out.println("this is not a valid letter");}

       asterix = temp; 
       System.out.println(asterix) ;
} 



  }
 }
</code></pre>
