This commit is contained in:
Patrik Seman 2023-03-04 11:55:12 +01:00
parent 8ba646be15
commit 0b54935702

View File

@ -11,7 +11,7 @@ while(i<VELKOST_POLA){
value=0;
int r = scanf("%d",&value);
pole[i]=r;
if(r!=-1){
if(r >= 0 && r <= 9999){
i++;
printf("Súťažiaci č. %d vypil %d pohárov.\n", i,r);