Problem - Find the Larger Number

Write a Java program that asks the user to input two integers and then prints the larger of the two numbers. If the two numbers are equal, print a message indicating that they are the same.

Solution