Answer to Question #49447 in C++ for john

Question #49447
Three salesmen work for a pharmaceutical company. Each salesman has an ID, salary and phone number as shown in the table below.

ID salary phone number
11 $100 2388888
12 $150 2377777
13 $250 2355555

Declare the arrays necessary to enter the information of 20 salesmen, and initialize them with the information of the three salesmen above. (i.e. the first three cells of each array are initialized as shown in the table above).

Then, the program should display the following list of tasks:
1. Add a salesman (using Functions)
2. Delete a salesman given his IDasd (using Functions)
3. Search for a salesman by his ID (using Functions)
4. Exit

The user chooses a task by entering the task number (1, 2, 3 or 4).

Write the 3 functions necessary to perform the previous tasks (add, delete and search), then call these functions to perform the tasks chosen by the user.

The program should keep on displaying the previous list of tasks and performing the chosen task until the user enters 4
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

New on Blog