Question: C++ Programming, all on one main Write a function called fillRandomNumbers that takes an integer array and the size of the array and fills the
Write a function called fillRandomNumbers that takes an integer array and the size of the array and fills the array with random numbers between 1 and 100. You can create a random number using rand(O. void fillRandomNumbers(int arrl, int size) Write a function called printArray that takes an integer array and the size of the array and prints the elements of the array. void printArray(int arrl), int size) Test that your fillRandomNumbers and printArray functions are working using the test function below. void testFillArray const int size 10; int arr[sizej; fillRandomNumbers(arr, size); printArraylarr, size)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
