diff --git a/du2/program.c b/du2/program.c index ff3713e..bc500fe 100644 --- a/du2/program.c +++ b/du2/program.c @@ -10,7 +10,7 @@ int main(){ while(i=0 && r<= 9999 ){ + if(r!=-1){ i++; printf("Súťažiaci č. %d vypil %d pohárov.\n", i,r);