public class Examen{ public static void main(String []args){ int array_1[][]=new int[3][3]; int array_2[][]=new int[3][3]; int array_3[][]=new int[3][3]; int array_4[][]=new int[3][3]; int Suma=0; for(int a=0; a<=3; a++) { for(int b=0; b<=3; b++) { array_1[a][b]=Suma++; for(int G=0; G<=5; G++) { System.out.print(array_1[a][b]=Suma++); } } } for(int c=0; c<=3; c++) { for(int d=0; d<=3; d++) { array_2[c][d]=array_1[c][d]*5; for(int Igual=0; Igual<=5; Igual++) { System.out.print(array_2[c][d]=array_1[c][d]*5); } } } for(int e=0; e<=3; e++) { for(int f=0; f<=3; f++) { array_3[e][f]=array_2[e][f]-3; for(int Min=0; Min<=5; Min++) { System.out.print(array_3[e][f]=array_2[e][f]-3); } } } int array1[][]=new int [3][3]; int array2[][]=new int [3][3]; int array3[][]=new int [3][3]; int array4[][]=new int [3][3]; int array5[][]=new int [3][3]; int array6[][]=new int [3][3]; for(int g=0; g<=5; g++) { for(int h=0; h<=5; h++) { array1[g][h]=14; for(int A=0; A<=5; A++) { System.out.print(array1[g][h]=14); if(array1[g][h]==14) { System.out.print("Numero localizado"); } else { System.out.print("Numero no registrado"); } } } } for(int i=0; i<=5; i++) { for(int j=0; j<=5; j++) { array1[i][j]=33; for(int B=0; B<=5; B++) { System.out.print(array2[i][j]=33); if(array2[i][j]==33) { System.out.print("Numero localizado"); } else { System.out.print("Numero no registrado"); } } } } for(int k=0; k<=5; k++) { for(int l=0; l<=5; l++) { array1[k][l]=11; for(int C=0; C<=5; C++) { System.out.print(array3[k][l]=11); if(array1[k][l]==11) { System.out.print("Numero localizado"); } else { System.out.print("Numero no registrado"); } } } } for(int m=0; m<=5; m++) { for(int n=0; n<=5; n++) { array1[m][n]=8; for(int M=0; M<=5; M++) { System.out.print(array4[m][n]=8); if(array1[m][n]==8) { System.out.print("Numero localizado"); } else { System.out.print("Numero no registrado"); } } } } for(int o=0; o<=5; o++) { for(int p=0; p<=5; p++) { array1[o][p]=4; for(int M=0; M<=5; M++) { System.out.print(array5[o][p]=4); if(array1[o][p]==4) { System.out.print("Numero localizado"); } else { System.out.print("Numero no registrado"); } } } } } }
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more