/**
* @author lautturi.com
* Java example: get a random double number in java
*/
import java.util.*;
import java.util.concurrent.ThreadLocalRandom;
public class Lautturi {
public static void main(String args[]) {
Random rand = new Random();
int min = 20;
int max = 100;
double random = ThreadLocalRandom.current().nextDouble(min, max);
System.out.println(random);
}
}