Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: http://solutionzip.com/downloads/multiplication-java/
- 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.
- How much is 6 times 7?
- This question can beposted anywhere on the applet window you want. You can easily have it go to the status line at the bottom via the showStatus method. The student they types the answer into a JTextField. Next the program checks the student’s answer. If the answer is correct, draw the string “Very good!” on the applet and ask another multiplication question. If the answer is wrong, draw the string “No. Please try again.” on the applet and let the student try the same question repeatedly until the student finally gets it right. A separate method should be used to generate each new question. This method should be called once when the applet begins execution and each time the user answers the question correctly. All drawing on the applet should be performed by the paint method (usually indirectly through the repaint method).
- Download: http://solutionzip.com/downloads/multiplication-java/
Advertisement
Add Comment
Please, Sign In to add comment