#include <stdio.h>
#include <stdlib.h>
#include <time.h>

void main()
{
system("color 5f");
int myrandom;
int low=1;
int high=49;
int i;

srand(time(NULL));  //use once before you generate
					//a random number
for(i=0;i<=5;i++)
{
myrandom = rand();
myrandom = myrandom % (high - low + 1) + low;
printf("%d ",myrandom);
}

	




}