From 63b0c4ec5a7c13315d0d5343370210209832b608 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Thu, 17 Mar 2022 20:38:07 +0100 Subject: [PATCH] SD --- du3/program | Bin 6698 -> 6706 bytes du3/program.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/du3/program b/du3/program index 58a62ac43bb0b4cb0af0ebba86835f9bda178e88..ce4f779f3a9623180b218010321cd9395185c34d 100755 GIT binary patch delta 261 zcmZ2wvdLtE0uu}GMx`)D5hnjvA1*{&EI+4qF!*Fy{Bfq}53@G+FivC^66VX_mKJqH653nSY+w&uxAT+cM$0F7W` zDCGdrAoG|QN?3pt7$^bBG$76Z;%A#Da!+R5tjv3qg)wDvp`h^OKY{{`ODFRRsj~)i rGcZ_y#e9SW7`rFO3aK+Lp4ddj;tXfiX=ULko;;6pF=OOpCoX%&`I9@jp7A~b>SbamqzL~rgNUqs@SE!za@#*GR@vBS#G;>bo diff --git a/du3/program.c b/du3/program.c index c4f67c6..a8e696f 100644 --- a/du3/program.c +++ b/du3/program.c @@ -10,7 +10,7 @@ int main(){ int r = scanf("%d",&value); if(r == 1){ vxod[i++] = value; - }else if(r < 1){ + }else if(r < 1 && vxod[0] < 1){ printf("Vysledok je: 0.60\n"); break; }else{