I need a perl script that can print the maximum value and the minimum value from a text file called "one.txt".
For example:
Code:
#ID Temperature
1 25
2 34
3 35
4 23
5 24
:
:
3000 24
The output should show:
Code:
Max temperature is:ID 2 Temperature 35
Min temperature is:ID 3 Temperature 23
I know there is a lot of perl script that posted before to find max and min value. But mostly they are in single column. Anyone can help?