Question: C++ HOMEWORK HELP THANKS!! Write a function to find the average of all the values in the given vector. Your function will take in one

C++ HOMEWORK HELP THANKS!!

 C++ HOMEWORK HELP THANKS!! Write a function to find the average

Write a function to find the average of all the values in the given vector. Your function will take in one parameter. i.e. the vector. Use the function declaration: float calcAverage(vectorcint v) Example vector containing 1,3,5,6 values Output 3.75

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!