We are given an Array A containing temperature forcast for each day. We have to ouput the second smallest element.
We can sort the array A and output the second element