I want to create a simple Math game that uses two random numbers and then allows the user to input the answer for each of the following operations: (addition, subtraction, multiplication, and power). I don't know how to set the constant for a maximum a random number can be as a constant.
import java.util.Random;
import java.util.Scanner;
public class Program1 {
    public static void main(String[] args) {
         Random generator = new Random();
         // create a variable that will hold the first random number
         int random1 = generator.nextInt();
         // create a variable that will hold the second random number
         int random2 = generator.nextInt();
         // create a constant for the maximum the random number can be
 
     
    