From b9ccdd5082e66dc9ef3fe2ef0b1d87af16d03f0b Mon Sep 17 00:00:00 2001 From: "ange.bardet" Date: Tue, 7 Nov 2023 17:23:18 +0100 Subject: [PATCH] =?UTF-8?q?voir=20commentaire=20ajout=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FonctionsResponsable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/FonctionsResponsable.c b/FonctionsResponsable.c index c338779..8f7bec9 100644 --- a/FonctionsResponsable.c +++ b/FonctionsResponsable.c @@ -15,6 +15,7 @@ void AjoutArticle(void) } printf("Saisir la référence de l'article (-1 pour arrêter): "); scanf("%d",&ref); + /*Si l'article existe déja, code d'erreur*/ while (ref < -1) { printf("Erreur ; Le numéro doit être positif (ou -1 pour arrêter); retapez : ");