//随机生成n天体温
int n = 1;
double tem[][] = new double[n][1];
for(int i = 0; i < n;i++) {
for (int j = 0; j < tem[i].length; j++) {
tem[i][j] = Math.random() / 2;
tem[i][j] += 36.1;
System.out.printf("%.1f\t", tem[i][j]);
}
}
//随机获取 0 1
(int)Math.floor(Math.random() * (3 - 1 + 1)) + 1