Using the attached code for Link list. Create member functions to: edit the Disp
ID: 3693723 • Letter: U
Question
Using the attached code for Link list. Create member functions to: edit the DisplayList function to print the nodes with an arrow between (ex. 5.0 --> 7.0 --> 6.0 --> NULL) calculate the average of the nodes in the list (CalcAvg ) append a node to the end of the list (EndNode) pre-pend a node to the front of the list (FirstNode) give the position of a node return its value (ValueNode)
Run the program creating the folllowing nodes
(0, 7.0), (1, 12.0) , (2, 16.5), (3, 1.4)
add a node of your choice to the end and begining
search for what value is located in node 0
display the list after each change
Explanation / Answer
Ans;
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.