From 8b7b1f169727abdba78aebd47e09ef7eb0672608 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Tue, 8 Mar 2022 15:34:11 +0100 Subject: [PATCH] ASD --- du2/.program.c.swp | Bin 0 -> 12288 bytes du2/program | Bin 0 -> 5446 bytes du2/program.c | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 du2/.program.c.swp create mode 100755 du2/program create mode 100644 du2/program.c diff --git a/du2/.program.c.swp b/du2/.program.c.swp new file mode 100644 index 0000000000000000000000000000000000000000..c8c7e68280d66dfbf3cb1abf54c34d6f710519cc GIT binary patch literal 12288 zcmeI%O-{l<7zW@Eca0$$J%A%@N+P8#7)?O;E?nZquo(ISW9X0lff$v&i7OZ0zzewd z4j#b+=o$1YuqKAYh2)*|?Q}ZdOxkDJ_RWj4b8%#}h}$+%{d%we@?0isLUa=~TXq^0 zGfP_(cmuh#Vm>)tY}km$SB`Br+}v)&Ni;}gU^u^6j}iz#U`2sE^XtduZqv5RYGq&S z?sQk&2+JS<0SG_<0uX=z1Rwx`|0B!L6E8{fF$Yf~`{qzZK|r>Y8_QSN%8lV+}pjNvK$09nOL AP5=M^ literal 0 HcmV?d00001 diff --git a/du2/program b/du2/program new file mode 100755 index 0000000000000000000000000000000000000000..b366fc74ab58380bb18ad97eeafcbbe8b89c1349 GIT binary patch literal 5446 zcmb7IZERE589sI#>Xu->(iI9SSDVwpL@t2_2rJz%G2bDiAwZ`xZf@+G*x=ZfeNB_D zYGEco6e6K&+UT@R@TaOYDlru?)KvrO6xRNtoitS%Q`ttfq);gvlpzi9p68x>;3iOM zJJRcOp7TEMdCz&zr|)a4npXRKKB1CdR0yII#Xztg`O!zEre0_wDCUYeVz!uoD(dR@ zfCF(1U{r~^0HlIC;QGDLL#6{$sAJm{C(#zt@Q4r;+KVYt@6`PaI>=lY%!kk~^?qbg z@T1UCMu92R(+6cO_-o;t5(TCxUCZZod^^b7_XmQM`Os06{(0yDA4sbG1*v4mf>gXV zl}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Wbh?9hMLV~y6}K>dcC?evT>EMsyT{o%Q2|( z7&Cl7iT&1j3PY+A+UoX;w;e8K50KFG9f zH13C{ZDS(?(`I(0EO2`omgrrUZDeDHohYPt=^Z_SuT%M1#{E>YVukuLgSc4El66g0M-djnz!(1SGM;)b9zYb0L6IPjKstDG-M m#`@hxtGgH)Q)WJol`!^G)O`<2p+QvCY%pAE(Tok2 +#define VELKOST_POLA 52 + +int main(){ + int results[50]; + int max; + int vysledky[VELKOST_POLA] = {0,0,0,0}; + int i = 0; + printf("1 2 3 4 5"); + while(1){ + scanf("%d", results[i]); + if(results[i] == 1) + printf("Úspešne som načítal hodnotu %d\n",results[i]); + else + printf("Načítanie sa nepodarilo. V premennej value ostala pôvodná hodnota. \n"); + i++; + } + return 0; +}