Изменил(а) на 'du2/program.c'
This commit is contained in:
parent
c82d2a64c4
commit
8641b7e874
@ -13,7 +13,7 @@ int max_hodnota = 0;
|
|||||||
int counter = 0;
|
int counter = 0;
|
||||||
int counter1 = 0;
|
int counter1 = 0;
|
||||||
while(STOP == 1){
|
while(STOP == 1){
|
||||||
if (r == 1 || value < 0){
|
if (r == 1 && value < 0){
|
||||||
counter1++;
|
counter1++;
|
||||||
printf("Súťažiaci č. %d", counter1);
|
printf("Súťažiaci č. %d", counter1);
|
||||||
printf(" vypil %d pohárov.\n",value);
|
printf(" vypil %d pohárov.\n",value);
|
||||||
|
Loading…
Reference in New Issue
Block a user