A+ Work





Program #6 – Java Applet to Practice Multiplication with User Interaction


1)    Develop a Java applet that will help an elementary school student learn multiplication.  Use the Math.random method or a Random object to produce two positive one-digit integers.  The program should then display a question, such as:

How much is 6 times 7?

Three scenarios are required!  You must run your application for three different successive multiplication results.  On the firstproblem, make two deliberate mistakes before providing the correct result.  Then on the second problem, make one deliberate mistake before providing the correct result.  Finally on the third problem provide the correct result on the first try.  Note that zero is not a positive number.