aboutsummaryrefslogtreecommitdiff
path: root/semestre 4/java/tme/tp1/TestLettre.java
blob: 78e7191aa533de28543f3de0fffb28ceb2d48169 (plain)
1
2
3
4
5
6
7
8
9
public class TestLettre {
    public static void main(String[] args) {
        for (char c = 'a'; c <= 'z'; c++) {
            final var l = new Lettre(c);
            System.out.print(l.getCarac() + " ");
            if ((c - 'a' + 1)%5 == 0) System.out.print("\n");
        }
    }
}