Question: Write an application that creates 2 variable of type integer. Prompt the user to enter two integer values, and assigns each value to one of

Write an application that creates 2 variable of type integer. Prompt the user to enter two integer values, and assigns each value to one of the variables. Then calculate and print the sum, product, difference and quotient.. You should add the additional calculations for product, difference and quotient. Don't forget to import the Scanner class and create a scanner object. Submit your .java file and your .class file in this tool.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!