Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given a list of employees, create a simple program that allows the user to insert, delete, display, and search an employee. The program should


image text in transcribed imageimage

Given a list of employees, create a simple program that allows the user to insert, delete, display, and search an employee. The program should input 10 full names of employees with employee ID no as linked list. Also, a list of menus should be displayed. These menus are Insert, Delete, Display and Search. A. Insert - allows the user to insert one employee at a time with corresponding ID number which serves as their link. All employees to be inserted must be inserted at the end of the list. B. Delete - allows the user to delete the employee from the list C. Display - allows the user to display the list of employees D. Search - allows the user to find a certain employee Note: These menus should be in loop once you test every operation based on the listed menu. MENU A - Insert B - Delete C - Display D - Search E - Exit Enter your Choice: A Enter Employee's Full Name: Jessica D. Brooker Enter Employee's ID No.: 20220865 Record Inserted Successfully. MENU A - Insert B - Delete C - Display D- Search E - Exit Enter your Choice: C ------- Employee ID 20220865 20221025 20220789 Full Name Jessica D. Brooker Alison C. Curry Juan G. Dela Cruz MENU A - Insert B - Delete C- Display D - Search E - Exit Enter your Choice: B Enter Employee's ID no. to be deleted: 20221025 Record Successfully Deleted. MENU A - Insert B - Delete C - Display D - Search E - Exit Enter your Choice: D Enter Employee's ID no whose record you want to be searched: 20221025 Employee's ID no. is not available.

Step by Step Solution

3.45 Rating (158 Votes )

There are 3 Steps involved in it

Step: 1

Employee class to store employee information class Employee def initself id name selfid id selfname ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual C# An Introduction to Object-Oriented Programming

Authors: Joyce Farrell

7th edition

978-1337102100

More Books

Students also viewed these Programming questions