package xuexi;
import java.util.Random;
public class Test {
public static void main(String[] args) {
for (int i = 0; i < 100; i++) {
String min = "好";
String max = "坏";
后面不会了
此生不变丶
浏览 1546回答 4
4回答
a710329590
import java.util.Random;public class Test { public static void main(String[] args) { // TODO Auto-generated method stub while (1 == 1) { double a = Math.random() * 10; System.out.println(a > 5 ? "好" : "坏"); } }}