#include <stdio.h>
#include <stdlib.h>
#include <time.h>

void main()
{
	int myarray[6];
	int low = 1;					//lowest of range
	int high = 59;					//highest of range
	srand(time(NULL));				//seed randomness
	int i;

	for (i = 0; i < 6; i++)
	{
		myarray[i] = rand() % (high - low + 1) + low;
	}

	printf("The numbers are: ");

	for (i = 0; i < 6; i++)
	{
		printf("%d ", myarray[i]);
	}
	printf("\n\n");
}
