Question: PA Comparing Two Numbers Write Java program and declare two integer numbers and compare them. If the first number is larger, print that it is
PA Comparing Two Numbers
Write Java program and declare two integer numbers and compare them. If the first number is larger, print that it is larger.
If the second number is larger, print that it is larger. If they are equal, print that they are equal.
Use ifelseif statement Section in Chapter
Note: Code one class with the main method.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
