public class tax{
public static void main(String[] args) {
double ep;
int t,x;
double[] tk=new double[101];
for (t=1;t<101;t++){
tk[t]=0.2;
}
for (t=1;t<101;t++){
x=0;
ep=Math.random();
if (ep<0.33)x=-1;
if (ep>0.66)x=1;
tk[t]=tk[t]+0.01*x;
}
}
}
最終更新:2010年01月23日 21:37