a. Assume that we have a list of employees' names of a company and their ages.
Write a program that reads from the user several lines of input. Each line includes an employee's name and his/her age (as an integer). The program should calculate and print the following:
The average age of all employees (rounded to 2 decimal places).
The oldest employee and his/her age.
Hints:
You could assume that the user will insert valid data and at least one employee.
You could assume that the oldest employee is only one person.
User could stop the program via entering the word "end" as an employee's name.
Sample Input and Output: In each line, insert an employee's name and his/her age To halt the program, insert "end" as an employee's name
-----------
Adam 30
Tom 41
Ted 45
Karl 30
end
-----------
The average age of all employees is 36.50
The oldest employee is Hisham whose age is 45