/* Complete the program below. */ import java.util.Scanner; // Scanner reads user input from the keyboard public class MathQuizPart3 { // test driver for methods in MathQuiz class public static void main(String[] args) { Scanner scanner = new Scanner(System.in); // needed for user input // call the method here to display the welcome message // use generateRandomNumber to generate two random numbers // between 1 and 50 and store them in variables // call askQuestion here // print the two random numbers to the console // print the user's answer to the console scanner.close(); // close the scanner } // main // Display a welcome message public static void displayWelcomeMessage() { // copy and paste the code from MathQuizPart1.java here } // displayWelcomeMessage // Generate a random number within a range public static int generateRandomNumber(int min, int max) { // copy and past code from MathQuizPart2.java here } // generateRandomNumber // Ask the user to guess the sum of num1 and num2 and return the user's answer // Note: Scanner must be passed in from main. // DO NOT CREATE A NEW SCANNER in this method. // Use ONE Scanner for System.in within one program. public static int askQuestion(int num1, int num2, Scanner input) { // write the code here } // askQuestion } // class MathQuiz