du1
This commit is contained in:
parent
10fae3b4b5
commit
bb2c54c412
@ -40,14 +40,16 @@ int main() {
|
||||
}
|
||||
|
||||
// P
|
||||
printf("Výherca je súťažiaci ");
|
||||
|
||||
for( int i = 0; i < pocet; i++){
|
||||
if(vysledky[i] == max){
|
||||
printf("Výherca je súťažiaci ");
|
||||
printf("%d ", i+1 );
|
||||
printf("ktorý vypil %d pohárov.\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
printf("ktorý vypil %d pohárov.\n", max);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user