#include <iostream.h>
#include <time.h>

void main(void)
{
        
        int *a;
        int size;

        cout << "Please input the size of the array: ";
        cin >> size;

        a = new int[size];

        srand(int(clock()));

        for(int i = 0; i < size; i++)
        {
                a[i] = rand();
                cout << i << '\t' << a[i] << endl;
        }
}

