Find the Second Highest

Find the Second Highest
Introduction
Read a text file, evaluate the contents and output the correct solution.
The Data File
The data file will be named “input.txt”. It contains any number of values separated by a single space. All
values are valid integers greater than zero. Values may be repeated.
Your program will read the input file and find the second highest value in the file and output it to the
screen.
Sample Data File
4 44 88 12 4 15 105 13 67 99 49 123 57 46 75 54 123 73 18 116 49 15 57
Correct Output
116