diff --git a/Exo.ts b/Exo.ts
index 255add78c11f0a3a53e837b3c13c427f259a115f..52693875c02e9298f82883db689f6ef8eea18b50 100644
--- a/Exo.ts
+++ b/Exo.ts
@@ -6,4 +6,16 @@ function deb1() {
         tab[i] = j; // Stocker j dans le tableau + point d'arret pour visualiser le remplissage du tableau (Exo2)
     }
     return j;
-}
\ No newline at end of file
+}
+
+function deb2(x: number, y: number) : void {
+    const tmp = y;
+    y = x; //Point d'arret x = 10, 9, 8, ..., 1
+    x = tmp; //Point d'arret y = 5, 6, 7, ..., 14
+    console. log(x, y);
+}
+let x = 10;
+let y = 20;
+deb2(x, y);
+console. log(x, y);
+//Le programme peut ne pas fonctionner correctement si x ou y ne sont pas initialisés correctement