Third Largest in java.
You will be given 4 numbers one on each line and you are asked to find the second largest number and print them to the STDOUT .
Input Format -
You will take 4 integers as input from STDIN.
Output Format -
print your result which will be the integer only to the STDOUT.
Sample Test Case:
Sample Input:-234
213
666
879
Sample Output -
234
Input Format -
You will take 4 integers as input from STDIN.
Output Format -
print your result which will be the integer only to the STDOUT.
Sample Test Case:
Sample Input:-234
213
666
879
Sample Output -
234
Comments
Post a Comment