Question: task 2and 3 c++ Task 2: Write a function that finds the average of the elements of a linked list. Use the following prototype. Modify

task 2and 3
c++  task 2and 3 c++ Task 2: Write a function that finds

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 *); Task 3: Write a function that counts and returns 'A' grades which are stored in the linked list. Use the following prototype. Modify your linked list data field to be a character and insert initial characters (A,B,A,C,D) to test your function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!