// module: Exo1.java // auteur : felipe IFT 1170 // objet: System.out.print // \t : tabulation (pour aligner la sortie public class Exo1 { public static void main (String args []) { // valeurs d'entree dans la table (colonne) System.out.print(" \t"); // colonne des entiers for (int table = 1; table <=9 ; table++) System.out.print("" + table + "\t"); System.out.println(""); // retour chariot for (int n= 1; n <=9 ; n++) { System.out.print(""+n+"\t"); for (int table = 1; table <= 9; table++) System.out.print(""+(n*table)+"\t"); System.out.println(""); // retour chariot } } }