Update 'du2/program.c'

This commit is contained in:
Peter Sabol 2022-03-10 19:31:22 +00:00
parent 3f0c3eeeca
commit 00d66d61be

View File

@ -18,7 +18,7 @@ int main(){
}
struct Winner max={0,0};
for(int j=0;j<i;j++){
printf("Súťažiaci č.%d vypil %d pohárov.\n",j+1,drinks_counter[j]);
printf("Súťažiaci č. %d vypil %d pohárov.\n",j+1,drinks_counter[j]);
if(drinks_counter[j]>max.drinks){
max.drinks=drinks_counter[j];
max.position=j+1;