From 694756c159dfd6956b6b025e49ffbeb3b3b3e1dd Mon Sep 17 00:00:00 2001 From: Emmanuel SRIVASTAVA TIAMZON Date: Tue, 4 Feb 2025 13:54:01 +0100 Subject: [PATCH] Delete DEV.2.1/TP/Progression.java --- DEV.2.1/TP/Progression.java | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 DEV.2.1/TP/Progression.java diff --git a/DEV.2.1/TP/Progression.java b/DEV.2.1/TP/Progression.java deleted file mode 100644 index e6e8399..0000000 --- a/DEV.2.1/TP/Progression.java +++ /dev/null @@ -1,25 +0,0 @@ -public class Progression { - - private int compte; - - public void plusUn() { - this.compte++; - } - - public String toString() { - return Integer.toBinaryString(this.compte); - } - - public Progression(int valeur_debut) { - this.compte = valeur_debut; - } - - public static void main(String[] args) { - Progression compteur = new Progression(5); - - for (int i = 5; i <= 9; i++){ - System.out.println(compteur); - compteur.plusUn(); - } - } -} \ No newline at end of file