Изменить 'du2/program.c'
aaaaaaa
This commit is contained in:
parent
5eefe5721d
commit
ad9023cab1
@ -77,7 +77,7 @@ int main() {
|
|||||||
printf("Chyba: Málo platných hodnôt.\n");
|
printf("Chyba: Málo platných hodnôt.\n");
|
||||||
else {
|
else {
|
||||||
for(int i = 0; i < repeats; i++)
|
for(int i = 0; i < repeats; i++)
|
||||||
printf("Výherca je súťažiaci %d ktorý vypil %d pohárov.\n",max_position,max_number);
|
printf("Výherca je súťažiaci %d ktorý vypil %d pohárov.\n",max_positions[i],max_number);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user