From 12158b954fffb4165f867727661378656faeede2 Mon Sep 17 00:00:00 2001 From: Yannis DOUMIR FERNANDES Date: Tue, 24 Oct 2023 09:07:52 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'src/app/interface/?= =?UTF-8?q?interface=5Fclient.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/interface/interface_client.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/app/interface/interface_client.c b/src/app/interface/interface_client.c index 99b0d13..94be817 100644 --- a/src/app/interface/interface_client.c +++ b/src/app/interface/interface_client.c @@ -65,4 +65,16 @@ void global_client(){ printf("Veuillez entrer un choix valide ! \n"); break; } +} + +void affichAjoutArticle(int *ref, float *poids, float *volume, float *prix) +{ + printf("Entrez la ref du nouveaux produit"); + scanf("%d", ref); + printf("Entrez le poids du nouveaux produit"); + scanf("%f", poids); + printf("Entrez le volume du nouveaux produit"); + scanf("%f", volume); + printf("Entrez le prix du nouveaux produit"); + scanf("%f", prix); } \ No newline at end of file