Write a program that builds an array of linked lists (do not use the ADT). The data for each linked list are to be read from a set of existing files and inserted into the list. The program is to...


Write a program that builds an array of linked lists (do not use the ADT). The data for each linked list are to be read from a set of existing files and inserted into the list. The program is to accept a variable number of files that are determined at run time by asking the user for the number of files and their names. The data structure is shown in Figure 5-38.


After the program builds the lists, print them to verify that they are complete. Test the program with the following four files:


a. 150 110 130 100 140


b. 200 280 240 220 260


c. 390 300 330 360


d. 480 440 400



Dec 14, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here