(Solved) : Exercise 1 Generic Function Write Program Prompts User Enter Two Positive Integers L U Low Q33200578 . . .
Using c++
Exercise#1: Generic Function Write a program that prompts the user to enter two positive integers L U for lower and upper bounds. The program then asks the user to enter a positive integer n. Then, it calls a function named genericFunc to generate n random numbers between L and U: void genericFunc (int, int, int, int&, int&, float&) The function finds the minimum, maximum, and average of the generated numbers. Then the main 0 program will print all the generated numbers, the minimum, the maximum, and the average. Sample Input/output: Enter the upper bound: 200 Enter the lower bound: 180 Enter how many numbers: 8 The generated numbers are: 15e 169 124 135 133 14311 167 The minimum is: 111 The maximum is: 169 The average is: 122.75 Show transcribed image text
Expert Answer
Answer to Exercise 1 Generic Function Write Program Prompts User Enter Two Positive Integers L U Low Q33200578 . . .
OR