Table de multiplication en Java
public class Table{
public static void main(String[] args) {
System.out.print("X*Y\t| ");
for(int x = 0 ; x <= 10; x++)
System.out.print(x+"\t");
System.out.println();
for(int x = 0 ; x <= 10; x++)
System.out.print("=========");
System.out.println();
for(int x = 0 ; x <= 10; x++){
System.out.print(x+"\t| ");
for(int y = 0 ; y <= 10; y++){
System.out.print(x*y+"\t");
}
System.out.println();
}
}
}