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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started