Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a JAVA application that obtains the two integer numbers from the user and prints the sum, product, difference and quotient of the two numbers.
Write a JAVA application that obtains the two integer numbers from the user and prints the sum, product, difference and quotient of the two numbers. Add 4 comment lines (comment lines start with //) at the very top of your program with your name, your class and section, the project number, and due date. Please submit to me on the due date. 1. Soft copy of the source code (Calculate.java). Use Canvas assignment submission page. Example of Input & Output Input: Numl 7; Num2 2 Output: Num1 + Num2 = 7 +2+9 Sum: Product: Num 1 * Num2 = 7 * 2-14 Difference: Numl Num2 7-2 5 Quotient: Num 1 / Num2-7/2=3 Test Plan for Project #1 Test Case #1 #2 #3 #4 Sample Data Numl 20, Num2 35 Num 35, Num2- 20 Numl 13, Num2 4 Numl 55, Num2 3 Expected Output 55, 700, -15, 0 55, 700, 15, 17, 52, 9, 3 58, 165, 52. 18
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started