#include <iostream>
#include <ctime>
using namespace std;
int main()
{
	int i, a[4];

	// First let's see what the value of RAND_MAX is:
	cout << "RAND_MAX = "
		<< RAND_MAX << ". " << endl;

	srand(time(0));
	// Assign random numbers to array a
	for (i = 0; i < 4; i++)
		a[i] = rand();
	// Display array a
	for (i = 0; i < 4; i++)
		cout << a[i] << "\t";
	cout << endl;
	
	return 0;
}

