Question: Please write in java and make sure to write a class that contains the four methods (add,subtract,multiply, and divide) please read directions. 7-2 (Revisit Lab
7-2 (Revisit Lab 6-3 (Math tutor)) Rewrite this program that displays a menu as shown in the sample run in lab 6-3. This time write a class that contains the four methods: Add, Subtrad, Multiply, and Divide) You can enter 1, 2, 3, or 4 for choosing an addition, subtraction, multiplication, or division test. After a test is finished, the menu is re-displayed. You may choose another test or enter 5 to exit the system. Each test generates two random single-digit numbers to form a question for addition, subtraction, multiplication, or division. For a subtraction such as number1 number2, number1 is greater than or equal to number2. For a division question such as number1/ number2, number2 is not zero
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
