Hello,
I have generated a group of random numbers but I can not figure out how to display the numbers in groups of 4. Any suggestions?
srand ((unsigned int) time(NULL));
int i, high, low, number;
high = 47;
low = 19;
for (i=0; i<20; i++)
{
number = rand() % (high-low+1) + low;//
cout << number << endl;
}//end for i
frz;
return 0;
} // end of main function