A database of details of employees is kept in a text file as shown below. The entries are employee name, age, department id, company name and salary in that order. A small segment of the file might look like the following. So, according to the data
Question 2 A database of details of employees is kept in a text file as shown below. The entries are employee name, age, department…