title: Computer-Assisted Instruction (CAI) for Teaching Someone Math
body: <p>I am writing a program (game) that teaches someone multiplication. In this program, random pair of numbers are to be generated and inserted into the question: "What is x * y = z?" If the person answers correctly, then the system will print out "Very Good!" If the person does not answer the question correctly, then the system will print out, "No. Please try again." (Which, in return, the program will continue to ask the question until the person answers the question correctly.) As the person answers the question correctly, a new method will generate another question for the person to answer.</p>
  
  <p>When I run the program it says "successful build;" however, there are no questions being asked. (In other words, nothing prints out.)</p>
  
  <p>Here is  the code:</p>
  
  <pre><code> package exercise_5.pkg35;
  
   import java.security.SecureRandom;
   import java.util.Scanner;
  
   public class Exercise_535 {
  
   private static int answer;
   private static int guess;
   private static int checkReponse;
  
       public static void main(String[] args) {
  
           int answer;
  
       }
  
       public void Quiz(){
           Scanner input = new Scanner(System.in);
           int guess;
       }
  
       public void createQuestion(){
  
           SecureRandom randomNumbers = new SecureRandom();
           int number1 = randomNumbers.nextInt();
           int number2 = randomNumbers.nextInt();
  
           answer = number1 * number2;
  
           System.out.printf("How much is %d times %d\n", number1, number2);
       }
  
       public void checkResponse(){
  
           if (guess != answer)
  
               System.out.println("No. Please try again.");
  
           else{
  
               System.out.println("Very Good!");
                       createQuestion(); 
           }
  
       }
  
   }
  </code></pre>
  
  <p>Can anyone tell me why nothing is being printed out?</p>