Изменить 'du2/program.c'

aaaaaaa
This commit is contained in:
Oleksandr Hryshchenko 2021-03-09 21:46:44 +00:00
parent 5eefe5721d
commit ad9023cab1

View File

@ -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;