From af671fdaf0e41659f1aee2093f800e3b4df7d00c Mon Sep 17 00:00:00 2001 From: Matej Hajduk Date: Wed, 24 Sep 2025 14:46:57 +0200 Subject: [PATCH] aa --- du1/program.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/du1/program.c b/du1/program.c index d94f274..e71e5ca 100644 --- a/du1/program.c +++ b/du1/program.c @@ -54,8 +54,9 @@ int main() { if (strstr(norm_dish, h) != NULL) { printf("%s\n", j); - - printf("%s\n", price); + double cis; + cis = atof(price); + printf("%.2f\n", cis); } }