lxsqsct
花朵
共回答了18个问题采纳率:88.9% 举报
public class Test {
public static void main(String sgs[]) {
for(int i = 0; i < 10; i++){
int x = (int) (Math.random() * 100 + 1);
int y = (int) (Math.random() * 100 + 1);
System.out.println(x + " + " + y + " = " + (x + y));
}
}
}
1年前
1