1) Design an algorithm to compute and print the average earnings, lowest earnings, and the highest earnings of a group of employees. Every input record will consists of name and earnings of one employee. Utilize the automatic end-of-file logic to signal the end of input.