标签:import out tin pac imp exti main string pack
package yunsuan;
import java.util.Random;
public class Demo {
public static void main(String[] args) {
char arr[] = {‘+‘,‘-‘,‘*‘,‘/‘};
int g = 100;
Random random = new Random();
for(int i=0;i<100;i++)
{
int u=-random.nextInt()%g;
int v=-random.nextInt()%g;
char w=arr[random.nextInt(4)];
System.out.println(u+" "+w+" "+v+"=");
}
}
}
标签:import out tin pac imp exti main string pack
原文地址:http://www.cnblogs.com/jxy5288/p/6514848.html