From 9dede478c0a73de6b099a6d07e47998ef7f5b8cf Mon Sep 17 00:00:00 2001 From: Jeremy Date: Fri, 5 Dec 2025 17:42:32 -0500 Subject: [PATCH] =?UTF-8?q?Correctif=20:=20Menu=20d'option=20s=C3=A9lectio?= =?UTF-8?q?n=20du=20nombre=20de=20tentative.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 0 | 2 +- mesFonctions.cpp | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/0 b/0 index 4588032..d7619da 100644 --- a/0 +++ b/0 @@ -1 +1 @@ -Appuyez sur une touche pour continuer... +Appuyez sur une touche pour continuer... \ No newline at end of file diff --git a/mesFonctions.cpp b/mesFonctions.cpp index 2ab1fc0..fb76a47 100644 --- a/mesFonctions.cpp +++ b/mesFonctions.cpp @@ -217,10 +217,12 @@ int lettreDansMot(string motRandom, string motPlayer, int nbLettre, int i) { 2 - OPTIONS ====================================*/ void choixNbEssai() { - cout << "Veuillez choisir le nombre de tentative que vous souhaitez avoir :" - << "\n(Par defaut a 6)" - << endl; + cout << "Veuillez choisir le nombre de tentative que vous souhaitez avoir." + << "\nPar defaut, le nombre de tentative est a 6." + << endl + << "Nombre de tentative : "; cin >> nbEssai; + cout << "Vous avez choisi d'avoir " << nbEssai << " tentatives."; } /*====================================