This commit is contained in:
Yaroslav Orlianskyi 2022-03-09 14:22:36 +01:00
parent a644b3042f
commit 572cfa6d9d
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View File

@ -27,6 +27,7 @@ int main(){
do{
printf("Súťažiaci č. %d vypil %d pohárov.\n",a+1,results[a]);
if(a == i - 1){
a = first - 1;
printf("Výherca je súťažiaci %d ktorý vypil %d pohárov.\n",a+1,max);
break;
}