From 19a5fce0d8c55ce8367eaaf8b67eb7022df214e2 Mon Sep 17 00:00:00 2001 From: Oleksandr Hryshchenko Date: Fri, 1 Oct 2021 16:52:08 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'cv1/program.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cv1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv1/program.c b/cv1/program.c index 9af0ce2..0a0e5c5 100644 --- a/cv1/program.c +++ b/cv1/program.c @@ -98,7 +98,7 @@ int main(){ for(int i = 0; i < numberOfOrder; i++){ if(wordComparison(orders[i].fixedName, ingredient)){ printf("%s", orders[i].brokenName); - printf("%0.2\n", atof(orders[i].price)); + printf("%0.2f\n", atof(orders[i].price)); } } printf("Nacitanych %d poloziek.\n", totalAmount);