SAD
This commit is contained in:
parent
4b1bd12a4e
commit
2da4cee81e
BIN
du2/program
BIN
du2/program
Binary file not shown.
@ -20,5 +20,13 @@ int main(){
|
||||
break;
|
||||
}
|
||||
}
|
||||
do{
|
||||
printf("Súťažiaci č. %d vypil %d pohárovav.\n", results[a], results[a]);
|
||||
if(a == i - 1){
|
||||
printf("Výherca je súťažiaci %d ktorý vypil %d pohárov.\n", max, max);
|
||||
break;
|
||||
}
|
||||
a++;
|
||||
}while(a < i);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user