Изменил(а) на 'du2/program.c'

This commit is contained in:
Vladyslav Korzun 2023-02-22 16:34:00 +00:00
parent c82d2a64c4
commit 8641b7e874

View File

@ -13,7 +13,7 @@ int max_hodnota = 0;
int counter = 0;
int counter1 = 0;
while(STOP == 1){
if (r == 1 || value < 0){
if (r == 1 && value < 0){
counter1++;
printf("Súťažiaci č. %d", counter1);
printf(" vypil %d pohárov.\n",value);