APL/APL2.1/TP4/Progression/Progression.java

9 lines
200 B
Java
Raw Normal View History

2022-02-08 15:59:04 +01:00
public class Progression {
public static void main(String[] args) {
Compteur c = new Compteur(5);
for (int i=0;i<5;i++){
System.out.println(c);
c.plusUn();
}
}
}