Question: C++ programming Using the srand) and rand () C++ library functions, fill an array of 1000 floating-point numbers with random numbers that have been scaled

C++ programming
Using the srand) and rand () C++ library functions, fill an array of 1000 floating-point numbers with random numbers that have been scaled to the range 1 to 100. Then determine and display the number of random numbers having values between 1 and 50 and the number having values greater than 50. Then modify it to also count and display the number of values between 1 and 25, 26 and 50, 51 and 75 and 76 to 100. Provide: 1. Snapshot of program run showing results for values 1 to 50 and 51 to 100. 2. Snapshot of program run showing results for values 1 to 25, 26 to 50, 51 to 75 and 76 to 100. 3. Program source code with a comment at the top with your name, course code and date, ex.: //Miguel Long MAC102 July 14/2017 Put these three files into a compressed file as demonstrated in class before submitting
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
