public class Day25B {
public static void main(String[] args) {
int[] arr1=new int[5],arr2=new int[5],result=new int[5];
for (int i = 0; i < result.length; i++) {
arr1[i]=(int)Math.round(Math.random()*40+10);
arr2[i]=(int)Math.round(Math.random()*40+10);
result[i]=arr1[i]*arr2[i];
}
System.out.println("索引\tarr1\tarr2\tresult");
for (int i = 0; i < result.length; i++) {
System.out.println(i+"\t"+arr1[i]+" x "+arr2[i]+" =\t"+result[i]);
}
}
}