标签:pack random next imp oid i++ rand 随机 dom
package demo;
import java.util.Random;
public class math{
public static void main(String[] args)
{
String[]operate=new String[]{"+","-","*","/"};
int []numbes=new int[1000];
for(int i=1;i<=1000;i++)(number[i-1]=i;
}
Random r=new Random();
for(int i=0;i<300;i++){
System.out.println(nunbers[r.nextlnt(1000)+operate[r.nextlnt(4)]+numbers[r.nextlnt(1000)]+"=");
}
}
}
标签:pack random next imp oid i++ rand 随机 dom
原文地址:http://www.cnblogs.com/zzz-0613/p/6534960.html