Question: you will continue to use variables, functions, and control structures to improve the View all Employees functionality you developed in Week3 and utilize functions and

you will continue to use variables, functions, and control structures to improve the "View all Employees" functionality you developed in Week3 and utilize functions and the passing of parameters to add two new functionalities to your Employee Management System.

Update the "View all Employees" functionality you have developed in Week3 to view the result in the following format:

---------------------------- Mike Smith -----------------------------

SSN: 123123123

Phone: 111-222-3333

Email: @g'mail.com

Salary: $6000

------------------------------------------------------------------------

---------------------------- Sara Smith -----------------------------

SSN: 123123111

Phone: 111-222-4444

Email: s...@gmail.com

Salary: $6500

------------------------------------------------------------------------

Now you will continue to employ the list data structure and utilize functions to add the following two new functions:

  • Search employee by SSN: This functionality makes use of looping and string parsing to search all the employees in the list and returns the information of the employee who has a SSN similar to the one that the user provided. Your system should display the employee information in the following format:

---------------------------- Mike Smith -----------------------------

SSN: 123123123

Phone: 111-222-3333

Email: @gmail.com

Salary: $6000

------------------------------------------------------------------------

  • Edit employee information: This functionality makes use of the "Search employee by SSN" function first to find the right employee, then it will allow the user to edit the information of the selected user.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!