标签:ring oid import util mat public math bsp java
import java.util.*;
public class 四则运算 {
public static void main( String args[] )
{
for(int i=1;i<25000000;i++)
{
int a;
int b;
int sum;
a = 1 + (int) ( Math.random() * 100);
b = 1 + (int) ( Math.random() * 100 );
sum=a+b;
System.out.println(a+"+"+b+"=");
}
for(int i=1;i<25000000;i++)
{
int a;
int b;
int sum;
a = 1 + (int) ( Math.random() * 100);
b = 1 + (int) ( Math.random() * 100 );
sum=a+b;
System.out.println(a+"-"+b+"=");
}
for(int i=1;i<25000000;i++)
{
int a;
int b;
int sum;
a = 1 + (int) ( Math.random() * 100);
b = 1 + (int) ( Math.random() * 100 );
sum=a+b;
System.out.println(a+"*"+b+"=");
}
for(int i=1;i<25000000;i++)
{
int a;
int b;
int sum;
a = 1 + (int) ( Math.random() * 100);
b = 1 + (int) ( Math.random() * 100 );
sum=a+b;
System.out.println(a+"/"+b+"=");
}
}
}
标签:ring oid import util mat public math bsp java
原文地址:http://www.cnblogs.com/ljl1998/p/7994499.html