15 lines
327 B
Java
15 lines
327 B
Java
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();
|
|
}
|
|
}
|
|
} |