diff --git a/src/display.c b/src/display.c index 1dcf30c..5c76f17 100644 --- a/src/display.c +++ b/src/display.c @@ -110,4 +110,56 @@ void displayClientList(int clientID[], float cagnotte[], int suspended[], int is { printf("%d\t%f\t%d\t%d", clientID[i], cagnotte[i], suspended[i], isAdmin[i]); } -} \ No newline at end of file +} + + + +void display_basket(int basket_tab_ref[], int basket_qte[], float weight[], float volume[], float unitPrice[], float *cagnotte,float weight_constraint, float volume_constraint, int tlog, int tlog_basket) + +{ + float total_weight_line[], total_volume_line[], total_price_line[], cagnotte_line[], total_weight, total_volume, total_price; + int i; + for (i=0; i