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)

Google

1

Jermaine

Cole

7

11

Facebook

2

Terry

Smith

6

14

IBM

3

Sam

Tiny

6

22

Microsoft

4

Adam

Jenny

8

13

Google

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

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!