Question: must use c++ Write a program that uses the following two functions to compute average of a set of data. float Average(int num[ ], int

 must use c++ Write a program that uses the following two

must use c++

Write a program that uses the following two functions to compute average of a set of data. float Average(int num[ ], int n); void Average(int num[ ], int n, float & average); Both functions are capable of computing the average. You need to call one function at a time from main, and display the average value. The array must be declared dynamically and provide the values as input to the program. [Use the sample code given in lecture notes, you have to modify somewhat). Put comment statements in your program, to explain important steps, and also to display your name, course number (CS 425) and today's date

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!