Back again with another question. I do not understand how to input random values between 1 and 100 into the elements of an array. Can anyone guide me on the proper syntax? My code below is how far I've gotten. Psuedo code is used as instruction here for better understanding of the task.
1 2 3 4 5 6 7 8 9
//Ask a user for a number of elements between 15 and 20. Allocate an array of that size.
//Fill the array, each with a random number (math.random?) between 1 and 100 (use a For loop).
//Output the array in reverse order using another For loop. When done, dispose of the array.
const string kInputMessage(" Please enter number between 15 and 20");
int size;
cout << kInputMessage;
cin >> size;
int aryc [size];