Question: *IN C++* 1.Create a function that takes in a vector and adds 10 random numbers to it. Have the function return the vector 2.Create a
*IN C++*
1.Create a function that takes in a vector and adds 10 random numbers to it. Have the function return the vector
2.Create a function that takes in an array, adds 10 random numbers to it and then returns the array.
3.Use pointer notation to fill an array with 20 random numbers between 1 and 100
4.Create a function that creates an array, fills it with 10 numbers of the users choice and then returns the array.
5.Create a function that creates an array fills it with 10 random numbers and then returns the array.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
