#include <iostream>
#include <iomanip>
#include <cstdlib>
#include <ctime>
usingnamespace std;
// PrintThis.cpp
/* Sample Output
5106
1607
19752
11226
3830
23674
29202
20171
22608
13347
*/
int main()
{
// prototype
void printThis(int);
constint NUMBERS = 10;
int randomValue;
srand(time(NULL));
for (int index = 0; index < NUMBERS; index++)
{
// call function to create a random number
randomValue = rand();
// call your function to display random number
printThis(randomValue);
}
cin.get();
return 0;
}
//-------------------------------------------------------------------
// Output Function - code the printThs() function below
// parameters: randomValue : int
// returns: none
//-------------------------------------------------------------------