subject

The main function, 1. Declares a linked list which stores integers.
2. Prompts user to enter int values and add these values in the linked list, stop adding the values when the user enter 0.
3. Prints the size of the linked list.
4. Prints the values stored in the linked list.
5. Prompts user to enter a value key, and find if key is in the linked list.
6. Prompts user to enter k (the number of values to be removed), and remove k values from the front.
7. Prints the values stored in the linked list.
8. Declares a linked list which stores strings.
9. Prompts user to enter strings and add these strings in the linked list, stop adding the strings when the user enters "exit".
10. Prints the size of the linked list.
11. Prints the strings stored in the linked list.
12. Prompts user to enter k (the number of strings to be removed), and remove k strings from the front.
13. Prints the strings stored in the linked list.
14. Declares a linked list which stores employees (the Employee class is provided with this lab material).
15. Prompts user to enter employee's name, id, and department name, and add the employees in the linked list, stop adding when the user enters id as 0.
16. Prints the size of the linked list.
17. Prints the employees stored in the linked list.
18. Prompts user to enter k (the number of employees to be removed), and remove k employees from the front.
19. Prints the employees stored in the linked list.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
How is the number 372 written when expanded out to place values in the base 8 (octal) number system? a. 2 x 4 + 3 x 2 + 4 x 1 b. 3 x 64 + 7 x 8 + 2 x 1 c. 3 x 8 + 7 x 7 + 2 x 6 d. 3 x 100 + 7 x 10 + 2 x 1
Answers: 1
question
Computers and Technology, 23.06.2019 12:20
When guido van rossum created python, he wanted to make a language that was more than other programming languages. a. code-based b. human-readable c. complex d. functional
Answers: 1
question
Computers and Technology, 24.06.2019 17:00
Following are uses of spreadsheets. for each use, choose whether the use is a business use, consumer use, or student use. family budget: sales data: recording research data for science class:
Answers: 2
question
Computers and Technology, 25.06.2019 05:20
6. write a user-defined matlab function for the following math function: r() = 4cos(4sin ) the input to the function is  (in radians) and the output is r. write the function such that  can be a vector. a) use the function to calculate r(/6) and r(5/6). b) use the function to plot (polar plot) r() for 0 ≤  ≤ 2. hint: use “ polar” and/or for “polar plot in matlab." include the title “'r(\theta)=4cos(4sin(\theta))”
Answers: 1
You know the right answer?
The main function, 1. Declares a linked list which stores integers.
2. Prompts user to enter...
Questions
question
Chemistry, 13.12.2020 14:00
question
Physics, 13.12.2020 14:00
question
Arts, 13.12.2020 14:00
question
Biology, 13.12.2020 14:00
question
Health, 13.12.2020 14:00
question
Chemistry, 13.12.2020 14:00