You are required to write a C++ program that indicates Linked List :
a) Create a structure “model”. This structure basically has members of model name, model height, model weight, model ethnic. The data which will store the information and second is node *next which will hold the address of the next node.
b) Create a structure “node”. This structure has all the model data and node pointer that will carry the model informations from structure model.
c) Insert 4 data of models named, Heidi, Zoey, Alexis and Lisa that carries informations of the their heights, weights and ethnic into the nodes. Declare the first node and the last node as NULL.
d) Print out the data of the models that include all the informations added as shown in the example below:
Print the data consequently for other 3 models as shown in the output above.
1
Expert's answer
2016-04-07T11:18:13-0400
Dear aventador, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment