Menu

(Solved) : Example Creates Program User Randomly Generates Two Single D Git Integers Number1 Number2 Q31311559 . . .

This example creates a program for user randomly generates two single-dígit integers number1 and number2, makes sure that number1number and displays a question such as What is 9- 2? to the student. After the student iypes the answer, the progran displays whether the answer is correct. If incorrect print message with what the math problem was and the correct number. use following to generate two random numbers int number1 (int) (Math.random() 10) int number2 (int)(Math.random) * 10);

This example creates a program for user randomly generates two single-dígit integers number1 and number2, makes sure that number1number and displays a question such as “What is 9- 2?” to the student. After the student iypes the answer, the progran displays whether the answer is correct. If incorrect print message with what the math problem was and the correct number. use following to generate two random numbers int number1 (int) (Math.random() 10) int number2 (int)(Math.random) * 10); Show transcribed image text

Expert Answer


Answer to Example Creates Program User Randomly Generates Two Single D Git Integers Number1 Number2 Q31311559 . . .

OR