public double getRandom(int begin,int end){ double random = Math.random(); return radom*(end - begin)+begin;}