From 8a3c392047116b792b90d0b9c0f170d62673378b Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Wed, 9 Mar 2022 14:51:03 +0100 Subject: [PATCH] ASD --- du2/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du2/program.c b/du2/program.c index 981a035..6a80236 100644 --- a/du2/program.c +++ b/du2/program.c @@ -24,7 +24,7 @@ int main(){ }else if(i == 0){ printf("Chyba: Málo platných hodnôt.\n"); }else{ - if(a == i){ + if(a == 0){ printf("Výherca je súťažiaci %d ktorý vypil %d pohárov.\n",i,max); }else{ i = 0;