Given a list of unsorted integers, arrList, program should find the pair (or pairs) of elements that have the smallest absolute difference between them.
The program will work by reading input files and producing output to the console. The format of the input file is to contain all elements, one per line. Both positive and non-positive integer values are acceptable.
The output contains the pair (or pairs, one per line) with the smallest difference.
-20 -3916237 -357920 -3620601 7374819 -7330761 30 6246457 -6461594 266854 (Input Example)
(-20,30) (Output Example)