DEV_BUT1/DEV2.1/TP04/progression.java

11 lines
207 B
Java
Raw Normal View History

2023-04-04 14:03:16 +02:00
public class progression{
public static void main(String[] args) {
Compteur c = new Compteur();
for (int i=0; i<=9; i++){
c.plusUn();
if(i>=4){
System.out.print(c + " ");
}
}
}
}