SAD
This commit is contained in:
parent
4b1bd12a4e
commit
2da4cee81e
BIN
du2/program
BIN
du2/program
Binary file not shown.
@ -19,6 +19,14 @@ int main(){
|
||||
}else{
|
||||
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