Question: Task 2: Write a function that finds the average of the elements of a linked list. Use the following prototype. Modify your linked list data

Task 2: Write a function that finds the average of the elements of a linked list. Use the following prototype. Modify your linked list data field to be a float and insert initial floats (1.5, 2.5, 3.5, 4.5) to test your function, float averagelist (struct node *)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
