$ ./sortEmployees input/infile1.dat input/infile2.dat result2.dat
Reading File 1: input/infile1.dat
Name Salary
---- ------
Turing, Alan 45000
Hopper, Grace 50000
Lovelace, Ada 43578
Babbage, Charles 70125
Reading File 2: input/infile2.dat
Name Salary
---- ------
Soni, Ameet 150
Danner, Tex 85
Wicentowski, Rich 100000
Tyson, Neil deGrasse 850269
Result:
Name Salary
---- ------
Babbage, Charles 70125
Danner, Tex 85
Hopper, Grace 50000
Lovelace, Ada 43578
Soni, Ameet 150
Turing, Alan 45000
Tyson, Neil deGrasse 850269
Wicentowski, Rich 100000
Number of total employees: 8
Average salary: $144900.88