submition4
This commit is contained in:
parent
440bf4a72d
commit
f7655ef0df
@ -13,7 +13,7 @@ int main(){
|
||||
memset(array_of_winers,0,VELKOST_POLA * sizeof(int));
|
||||
int i=array_of_quontiti_of_drinked_limonades(pole,array_of_winers);
|
||||
if(i==0){
|
||||
printf("ERROR");
|
||||
printf("Chyba: Málo platných hodnôt.");
|
||||
}
|
||||
for(int j=0; j<i; j++){
|
||||
printf("Výherca je súťažiaci %d ktorý vypil %d pohárov.\n",array_of_winers[j]+1,pole[array_of_winers[j]]);
|
||||
|
Loading…
Reference in New Issue
Block a user