import java.util.Scanner;
import java.util.Random;

/**********************************************************************
 * Class purpose: Simulate an 8-ball
 * 
 * @author  Archer Harris updated Nancy Harris
 * @version 10/10/2012
 *********************************************************************/

public class EightBall
{
   /******************************************************************
    * Method purpose: simulate an 8-ball
    *
    * @param args Command line arguments, ignored
    *****************************************************************/
   public static void main(String [] args)
   {
      Scanner  stdin;			// Input Stream
      String   wantToAsk;		// User input: want to ask a question
      String   questionStr;	// User input: the question
      int      answerIndex;	// The index value returned by random generator
      String   answerStr;		// The program's answer

	int      seed;				// User input: the random generator seed
      Random   answerPicker;	// The random generator object

 	// Create a Scanner and output the heading  
	
      //*****************
      // Get the 3 inputs -- see Output section for prompts (note: might you use Utility from PA2?)
      //*****************
 
     	//*****************
	// Check the length of the question.  See checkQuestion method at bottom of lab.
	//*****************

	//***************
      // Pick an answer -- See pickRandom method at bottom of lab.
      //***************
  		
		
	// based on the answer from the random number generator, choose a question.

      //***************
      // Output results
      //***************
		
		
   } // end main
	/***********************
	 * method checkQuestion will check the question entered by the user 
	 * and if it is too long, will display the error message and exit the program.
	 *
	 * @param question The question that was asked
	 ***********************/
	 public static void checkQuestion(String question)
	 {
	 	
	} // end checkQuestion

	/***********************
	 * method pickRandom will pick a random number from 1 - 20  
	 * use the Math.random class to choose a random number between 0 and 1
	 * then scale that number to 1 - 20. 
	 *
	 * @return the random number
	 ***********************/
	 public static int pickRandom()
	 {
	 	
	} // end checkQuestion
}
