Question
Create a list with the following information below: Employer (string) Employee ID (int) First name (string) Last name (string) Weekly hours worked (int) Monthly hours
Create a list with the following information below:
Employer (string) | Employee ID (int) | First name (string) | Last name (string) | Weekly hours worked (int) | Monthly hours worked (int) |
| 1 | Jermaine | Cole | 7 | 11 |
| 2 | Terry | Smith | 6 | 14 |
IBM | 3 | Sam | Tiny | 6 | 22 |
Microsoft | 4 | Adam | Jenny | 8 | 13 |
| 5 | Top | Denny | 15 | 33 |
After that, create a user interface program where this list can be searched.
List of valid commands that can be entered into the program (MUST be tested & working - should return all of the employee's attributes):
Google (Should return Jermaine and Top)
Google or 2 (Should return Jermaine, Top and Terry)
Google AND 15 (Should return Top Denny)
Google AND 1 OR Facebook (Should check Google AND 2 FIRST, should return Jermaine and Top)
Please note you cannot ask the user which column they want to search in. The user's search must search the entire list. Please ensure the list works if other employees are added to it.
Correct implementation will be given thumbs up.
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