fin
This commit is contained in:
15
DEV2.1/Classe_objet/Progression.java
Normal file
15
DEV2.1/Classe_objet/Progression.java
Normal file
@@ -0,0 +1,15 @@
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
import compteur.Compteur;
|
||||
|
||||
public class Progression {
|
||||
public static void main(String[] args) {
|
||||
Compteur n = new Compteur();
|
||||
for (int j = 0;j <= 5;j++)
|
||||
n.plusUn();
|
||||
for (int i = 5;i < 10;i++){
|
||||
System.out.println(n.toString());
|
||||
n.plusUn();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user