he file is listed below (separated by a single space): first_name last_name employee_id phone_number Overview You’ve been asked by your employer to create an employee registry program. The program will be used by the HR department to maintain employee records. Requirements When your program starts, it should read the employees.dat file into memory. A menu should be displayed like below. List all employee details List employee by last name Add a new employee Remove an employee Show all managers only Show all staff only Quit Each menu option should be handled by its own function. You should add utility functions as needed. When option 1 is selected your program should list all the information for each employee in a tabular format. When option 2 is selected your program should prompt the user to enter an employee’s last name. If the name entered can be found, your program should

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Hi All, Please help me with this question.

Employee Registry This project requires the use of an employees.dat file (create your own file). The record format in the file is listed below (separated by a single space): first_name last_name employee_id phone_number Overview You’ve been asked by your employer to create an employee registry program. The program will be used by the HR department to maintain employee records. Requirements When your program starts, it should read the employees.dat file into memory. A menu should be displayed like below. List all employee details List employee by last name Add a new employee Remove an employee Show all managers only Show all staff only Quit Each menu option should be handled by its own function. You should add utility functions as needed. When option 1 is selected your program should list all the information for each employee in a tabular format. When option 2 is selected your program should prompt the user to enter an employee’s last name. If the name entered can be found, your program should list all employee details for that employee. If the name cannot be found, your program should display a message stating so. When option 3 is selected your program should prompt the user to enter the employee’s first name, last name, employee Id, and phone number. When option 4 is selected your program should allow the user to remove an employee by either last name or employee Id. When option 5 is selected your program should display only managers. All managers have an Id that starts with the number 8. When option 6 is selected your program should display only employees. All employees have an Id that starts with the number 1. When option 7 is selected your program should update the employees.dat file and terminate. 
Great if code can be done in c++ and run without any alterations on my end, thankyou!

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 5 images

Blurred answer
Knowledge Booster
Graphical User Interface
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education