title: Returning char into main method
body: <p>The goal of my program is kind of like wheel of fortune, a user will guess letters of a phrase. the letters will be revealed as guessed.  I am just starting, and having a problem returning a character into the main method.  I know there are other ways to make this program, but my professor wants us to use a "getguess"method. This method is supposed to take the users input and verify that it is a lowercase character.  For some reason i can not figure out how to do this. I have copied my program in with my attempt at the program.
  Thanks,</p>
  
  <p>import java.util.Scanner;</p>
  
  <pre><code>public class Program09 {
       public static void main(String[] args) {
           Scanner stdIn = new Scanner(System.in);
           String phrase;
  
           System.out.print("Enter a common phrase: ");
           phrase=stdIn.next();
  
           int sum=0; 
           getGuess(stdIn);
       }
  
       public static char getGuess(Scanner stdIn) {
           char LetterGuess;
           do{
               System.out.println("Guess a letter: ");
               LetterGuess=stdIn.next();
           } while(isLowerCase(LetterGuess) == false)
  
           return LetterGuess;
       }
  
  }
  </code></pre>