Question: Assignment #9 Assignment #9 Random Integers Array Allocator N riefunction int med d s l at ir amical, alocales an omay of integers The und

 Assignment #9 Assignment #9 Random Integers Array Allocator N riefunction int

Assignment #9 Assignment #9 Random Integers Array Allocator N riefunction int med d s l at ir amical, alocales an omay of integers The und in shol d accept an ite ge argument i dicating the number of elements to allocate. Once the array is dynamically created, use the rand function as we have in several of our labs to populate (fill) the array with random numbers (it would be a great idea to practice seeding the random number generator with a static local variable). The function must return a pointer to the array of random numbers. Provide a main function that does the following: Prompt the user how many random numbers they want in the array (this value is the value you will pass as a parameter to your randoms function) Display the array that was returned by the randoms function To be tuned in G++ source code with your randoms function and main function test driver Early Bird Bonus of 1 point will be rewarded to correctly working submissions submitted before 11:59PM 5/22/2018

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!