package practice;
public class practice3 {
public int rad(int n){
int[] arg=new int[n];
for(int a=0;a<arg.length;a++){
int b=(int)(Math.random()*100);
arg[a]=b;
}
for(int ARG:arg){
System.out.println(ARG);
}
return arg[n];
}
public static void main(String[] args) {
practice3 P3=new practice3();
p3.rad(100);
}
}
小JAVA
相关分类