Question: 3:227 ...xythos.s3.us-east-1.amazonaws.com U CMPSC 3313 Advanced Programming Languages Programming Assignment 3 Due Date: March 8, 2020, 11:59PM Computers are playing an increasing role in education.
3:227 ...xythos.s3.us-east-1.amazonaws.com U CMPSC 3313 Advanced Programming Languages Programming Assignment 3 Due Date: March 8, 2020, 11:59PM Computers are playing an increasing role in education. Write a Java program that will help an clementary school student learn multiplication. Use Math.random to produce two positive one-digit integers. It should then display a question in a JOption Pane.show Message Dialog such as How much is 6 times 7? The student then types the answer into a JOption Pane.showInput Dialog Your program checks the student's answer. If it is correct, display in a JOption Pane.show MessageDialog the string "Very good!", then ask another multiplication question. If the answer is wrong. display in a JOptionPane.show Message Dialog the string string "No. Please try again.", then let the student try the same question again repeatedly until the student finally gets it right. A separate method should be used to generate cach new question. This method should be called once when the program begins execution and each time the user answers the question correctly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
