PROCEDURAL PROGRAMMING WITH C 2. (30 pts) Given that C is NOT OOP, so in this question you will try to mimic OOP state of auto inventory catalogue in Q5 using C structures. Using the ordered output...

PROCEDURAL PROGRAMMING WITH C





2. (30 pts) Given that C is NOT OOP, so in this question you will try to mimic OOP state of auto inventory catalogue in Q5 using C structures. Using the ordered output file created using your Ruby program in Q5, write a C program that uses that output file and works according to the following description:




a. Creates different structure types that corresponds to different class types that you created in Q5




b. Each structure will contain a pointer to the next structure of the same type.




c. The top-level structure will additionally contain a pointer to the first structure in the level below that corresponds to one of the models of that car maker




d. It reads the file and starts populating variables of the corresponding structure type and updates the linked list pointers accordingly. It will also store different vehicle listing features in the structures that it just created.




e. You should also create the three functions explained in




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here