Problem Description and Given Info
Write a Java program, that prompts for and collects two inputs (all inputs will be ints). After collecting the inputs, this program should determine the largest of the two input values and print out a message indicating which input value is largest.
Here are some examples of how this program should look when it runs:
Example 1:
Enter first integer : 3 Enter second integer : 5 The largest is : 5
Example 2:
Enter first integer : 7 Enter second integer : 2 The largest is : 7
Example 3:
Enter first integer : 4 Enter second integer : 4 The largest is : 4