Question: C++ roblem 4: 1) Write a function GetMin that will that will accept three parameters: a. int N b. int a c. int b The
roblem 4: 1) Write a function GetMin that will that will accept three parameters: a. int N b. int a c. int b The function willgenerate and display N random numbers from a to b. It will calculate and display the sum and average of all random numbers. Display the average with two decimal places. The function will return the minimum random number. Use the following main() function. All you need is to implement the function GetMin() int main() srand (time (0)) int N, a, b, min; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
