Respuesta :
I don't think some will write the whole program here, but which part are you having trouble with?
A program exists as a distinctive set of ordered operations for a computer to perform.
What is a program?
In computing, a program exists as a distinctive set of ordered operations for a computer to perform. In the modern computer that John von Neumann outlined in 1945, the program includes a one-at-a-time series of instructions that the computer pursues. Typically, the program exists put into a storage area available to the computer.
import java.util.Random;
import java.util.Scanner;
public class Problem
{
public static void Problem()
{
int num1 = 0;
int num2 = 0;
int answer = 0;
Random r = new Random();
Scanner in = new Scanner(System.in);
num1 = r.nextInt(10);
num2 = r.nextInt(10);
System.out.println(num1 + " times " + num2 + " = ? ");
answer = in.nextInt();
if (answer == (num1*num2))
{
System.out.println("Good job! You got it right!");
Problem();
}
else
{
while (answer != (num1*num2))
{
System.out.println("You got it wrong, try again!");
answer = in.nextInt();
}
Problem();
}
}
public static void main(String[] args)
{
Problem();
}
}
A program exists as a distinctive set of ordered operations for a computer to perform.
To learn more about program refers to:
https://brainly.com/question/23514928
#SPJ2