标签:
学生:宋丹丹 张潇裕
public class Test5 {
    public static void main(String[] args) {
        int max=10;
        int a;
        int b;
        int c;
        int d;
        int e;
        int f;
        a=(int)(Math.random()*max+1);
        b=(int)(Math.random()*max+1);
        c=(int)(Math.random()*max+1);
        d=(int)(Math.random()*max+1);
        e=(int)(Math.random()*max+1);
        f=(int)(Math.random()*max+1);
        String s=a+"x+"+b+"y+"+c+"=0";
        String r=d+"x+"+e+"y+"+f+"=0";
        System.out.println(s);
        System.out.println(r);
    }
}
标签:
原文地址:http://www.cnblogs.com/sdds/p/5955832.html