Jai 4 matrice en langue java
si quelquún a besoin de
1)public class cologne {
public static void main(String[] args) {
int t[][]=new int[11][11];
int i,j;
int l=1;
for ( i = 1; i <11; i++) {
for (j = 1; j <11; j++) {
t[i][j]=l++;
System.out.print(" | "+t[i][j]);
}
System.out.println( );
}
}
}
2)public class impaire {
public static void main(String[] args) {
int t[][]=new int[11][11];
int i,j;
int l=1;
for ( i = 1; i <11; i++) {
for (j = 1; j <11; j++) {
t[i][j]=l++;
l++;
System.out.print(" | "+t[i][j]);
}
System.out.println( );
}
}
}
3)public class lignes {
public static void main(String[] args) {
int t[][]=new int [11][11];
int i,j;
for ( i = 0; i <=10; i++) {
t[i][i]=i;
}
for ( j = 1; j <=9; j++) {
for ( i = 1; i <=10; i++) {
System.out.print(" | " +t[i][i]);
}
System.out.println(" ");
}
}
}
4)public class multiplication {
public static void main(String[] args) {
int t[][]=new int[11][11];
int i,j;
for ( i = 1; i <11; i++) {
for ( j = 1; j <11; j++) {
t[i][j]=j*i;
System.out.print(" | "+t[i][j]);
}
System.out.println( );
}
}
}
et pour moi jai besoin des matrice un ou il ya les 100 premiers chiffres premiers
le dexieme de 1 a 100 en helica
et le dernier de 1 a 100 avec transposition de matrice