Signed-off-by: Mathéo Hersan <matheohersan@MacBook-Pro-de-Matheo.local>
pull/3/head
Mathéo Hersan 2 years ago
parent 24bdef86c5
commit 437a15c2e9
No known key found for this signature in database
GPG Key ID: 4EF19C64D78EC91B

BIN
app

Binary file not shown.

@ -1,4 +1,4 @@
32 0.00 0
660 19.55 0
660 11.03 0
5079 75.50 0
8043 50.50 1

@ -114,15 +114,12 @@ void global_client() {
int choixCagnotte;
scanf("%d", &choixCagnotte);
if (choixCagnotte == 1) {
// Demander le montant à déduire de la cagnotte
float montant;
printf("Entrez le montant à déduire de votre cagnotte : ");
scanf("%f", &montant);
// Appeler la fonction pour déduire la cagnotte
deduire_cagnotte(numeroClient, montant, numeros, cagnottes, nombreClients, suspendus);
// Informer le client que la cagnotte a été déduite
printf("Le montant a été déduit de votre cagnotte.\n");
}

Loading…
Cancel
Save