From 24f9ec213ae515eb1ea3758737093d702a8b3ae0 Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Sun, 27 Mar 2022 14:35:37 +0200 Subject: [PATCH] aaa --- du4/program.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/du4/program.c b/du4/program.c index 1c9432f..117f093 100644 --- a/du4/program.c +++ b/du4/program.c @@ -24,8 +24,9 @@ int main(){ float num2=strtof(start,&end); start=end; float vysledok2=strtof(start,&end); + printf("%f\n",vysledok2); float vysledok=0; - + if(num2==0&&znak=='/'){ printf("CHYBA\n"); } @@ -49,7 +50,7 @@ int main(){ printf("ZLE\n"); } - // printf("%.3f\n", vysledok); + printf("%.3f\n", vysledok); return EXIT_SUCCESS; }