Update 'du2/program.c'
This commit is contained in:
parent
fcc4c7dd5f
commit
3aed94c775
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
int drinks_counter[VELKOST_POLA];
|
int drinks_counter[VELKOST_POLA];
|
||||||
|
memset(drinks_counter,0,VELKOST_POLA * sizeof(int));
|
||||||
int i=0;
|
int i=0;
|
||||||
while(i<VELKOST_POLA){
|
while(i<VELKOST_POLA){
|
||||||
scanf("%d",&drinks_counter[i]);
|
scanf("%d",&drinks_counter[i]);
|
||||||
|
Loading…
Reference in New Issue
Block a user