Write program to simulate type of directory assistance

I need help on one of my project called “User-Operated Directory Assistance.” Write a program to simulate this type of directory assistance. Suppose the names andtelephone extensions of all the employess of a company are contained in the text file Employees.txt. Each set of three lines of the file has three pieces ofinformation: last name, frist name, and middle name(s), and telephone extension. If you can give me the code that would be great. Thanks.
CookMyProject