Write a C++ (visual studio) program that examines a list of numbers to find the smallest value. The list should include 10,000 random whole numbers that range from -1,000,000 to 1,000,000. The program...




Write a C++ (visual studio) program that examines a list of numbers to find the smallest value. The list should include 10,000 random whole numbers that range from -1,000,000 to 1,000,000. The program should display the lowest value in the list and the number of the element that contains that value. And create a pseudocode explaining the steps. (if you would give to someone to create the program) The program must have: Declare an array in themain() function that will hold 10,000 integers. Pass the array to the other functions as necessary. Use a reliable algorithm to produce random integers within a given range. Note: stran()/rand() is NOT a reliable random number algorithm. mThe function should accept the minimum and maximum values that will be generated and return an integer. Examine the array to find the smallest value. Return the smallest value and the number of the element that contains the smallest value.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here