Update 'du2/program.c'

This commit is contained in:
Peter Sabol 2022-03-10 19:46:19 +00:00
parent c1c23b9f15
commit df2f8dda51

View File

@ -12,7 +12,7 @@ int main(){
scanf("%d",&drinks_counter[i]); scanf("%d",&drinks_counter[i]);
if(drinks_counter[i]<1){ if(drinks_counter[i]<1){
if(i<1){ if(i<1){
printf("Chyba: Málo platných hodnôt."); printf("Chyba: Málo platných hodnôt.\n");
} }
break; break;
} }