Project 36

Switch Statements & Two Button Applet (100 points)
Write an applet which will allow the user to select from an addtion or subtraction problem. After the user makes a selection, instruct him to click a GO Button. The GO Button must then active an addition or subtraction problem with two random integers from 0 to 10 inclusively. Create a second button called Check your result. This button must report to the user whether his answer is correct or incorrect. For example,
If the selection is an addition problem and the two random numbers are 8 and 2 then output 8 + 2 =
In a similar fashion, you must do likewise for the subtraction problem.
After the menu selection, your applet must use a switch statement as it's use of decision control.


Sample Output for Project36