unsigned int RandomData(int min,int max)
{
srand((unsigned)time(NULL));
unsigned nA = (unsigned)rand();
unsigned nB = (unsigned)rand();
return (unsigned)(nA*nB %( max+1-min)+min);
}
double random(double start, double end)
{
return start+(end-start)*rand()/(RAND_MAX + 1.0);
}