Question: write in c++ please. Write a program that produces a set of randomly generated numbers, The numbers will be stored in a vector, the largest


write in c++ please.
Write a program that produces a set of randomly generated numbers, The numbers will be stored in a vector, the largest number generated will be stored in the last element location of the vector. Include the following in your program: 1)Allow the user to input three numbers the first number is the amount of numbers that will need to be generated - numb1 the second number is the lowest number in the range - numb2 the third number is the largest number in the range - numb1 2) Use the random number generator to create numb1 numbers within the range use a seed of 14 3) Store the generated values in the vector & output the vector 4) Move the largest value to the last index location and output the updated vector Sample Input 5 5 10 Sample Output 6 7 8 5 6 6 7 5 6 8 Hint make all of your integer values unsigned to get rid of any warnings 1 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
