The median is easy to handle: generate half the number of random value you need in the range (min,median) and the other half in the range (median,max).<BR><BR>The mean seems trickier to set; it may be ...