diff --git a/du3/program b/du3/program index 58a62ac..ce4f779 100755 Binary files a/du3/program and b/du3/program differ 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{