From 070dd51927eb0f3d795c6e8bf6ef7b0dc5c4c920 Mon Sep 17 00:00:00 2001 From: Patrik Seman Date: Sat, 4 Mar 2023 11:37:00 +0100 Subject: [PATCH] . --- du2/program | Bin 18104 -> 18104 bytes du2/program.c | 7 ++++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/du2/program b/du2/program index d8c8669b669242321a7b7eacb691b69634e4d5b0..b6276d08cf06e52584b94c3a08ee8bb21fb7aa87 100755 GIT binary patch delta 343 zcmdnd%ebSLal;iR5s3qF(@wwjUGMT&puKXT`P4&)`O-GOU~1%xs5;&%^Z);U1|ab0 z1v5Q5k9qXkHuEts>;Q?r*!b`N|4!F0-L8K;W^{*s>73H40MyW2`-QR8wb}I#BTx(| z2i6n@*OW7PyP$?j!)wL~-Jw5V(l&5uEufiT(@!4W%qx_@$H+A~PvIK>36O=3d;)Du z&b(|)hc^c+s_-+OnC!?TKDpmO5y;wTkP0Nl4TBiDCubQ>W6Yh*Xyl;HrO(PcpOuH> zBrE$UvzyA0J~ay{r~^~ delta 317 zcmdnd%ebSLal;iR5g+Hym{&@!{mD9)dsKv5K8b1ETEF=PQzM^bfk$tv%>V!YJvxth z^xF3FF)-|40D>30C-(>{iu~zz{R5UrfJ>B3J}9W6*Y%olLU$-!+6^vk^6&qDun8v* zr|I#_w}1>|*vu=Gz{kiiIZxpl|2~j_BcDJUlQSmrk*XICGs${1C diff --git a/du2/program.c b/du2/program.c index 8ed26a9..552073f 100644 --- a/du2/program.c +++ b/du2/program.c @@ -6,7 +6,7 @@ int main(){ int pole[VELKOST_POLA]; int max_hodnota=0; int value=0; - int r; + int r=0; while(i max_hodnota){ - max_hodnota = pole[i]; + max_hodnota = pole[i]; } } -printf("Výherca je súťažiaci %d ktorý vypil %d pohárov.\n", i,max_hodnota); \ No newline at end of file +printf("Výherca je súťažiaci %d ktorý vypil %d pohárov.\n", i,max_hodnota); +} \ No newline at end of file