From 566075e702081a54bde603b7d2d8e83c663e1299 Mon Sep 17 00:00:00 2001 From: Igor Dzuro Date: Fri, 20 Mar 2020 00:14:26 +0100 Subject: [PATCH] a1 --- a1/program | Bin 0 -> 16664 bytes a1/program.c | 15 +++++++++++++++ 2 files changed, 15 insertions(+) create mode 100755 a1/program create mode 100644 a1/program.c diff --git a/a1/program b/a1/program new file mode 100755 index 0000000000000000000000000000000000000000..d6d3b501b23f1606d19e0adfe1f097e100ec7485 GIT binary patch literal 16664 zcmeHOeQX>@6`%9P@#X8zag)|f0=bk#asY1}Cvj|AlRMkztdX6B)DEdgvN`+C_NDh> z?$%(3B7)pjoQgxLQmLwhfYLvRK&VJaMFI&MhlnD95+T%x5@D(oT>_|1D3MzfAMee) zcivmCf&Kyfvm@QUdB68DZ{N`a78)w5$*+wcHbenoo*pLrW_$sv|FxBRVoQnLHB`nQbauC zOus;JFlD^dUXWU}(bE(dQ>z{3rckf!3a#bz2(@>dDBB^6cJpL6Pj*aasXeBgPs|Da zE|EVw?Eo1Trl^bM$XjL%>sx}zEv1hrSTJR~Pl6rB`JWa}`%!9dxxCa;{7mU~#ja$c zziIETWUM}!NRN)yk2N>dH|^DO8Ld&?H~L52gNOQLNZ7wPwHWgT_#uY!+rO!8d1Za$ z)Q?~P)i+*!`H2nt+izV&-75H@4|QK(f||mRUXA}cg><=c90WlJ;U>Up9Pox^a1-#L zgZ`Rj^e2|l-v;IZc41eC*4i=%Hxd3MQFVe%+WYv zToB$6QgX(bzji?3*cY&UF0&RKW8_k>;5`*W?kK_o_Z_30C> zf6}0;=if5d>d&;+0A8qvTPh60<#OdJ;5{eVj_J+MgRl>5AdwCFWModyUxt`2`i1xr z##wk{p;!dGpzvo)_>9756+T|VzpLD{Q@fms`Sk={IffO z<5F}DD${oY>m&0hnunlj(HTCeLK8TX;k`C9s0Fq@iIKwNh5Uy<)s=ree5@;fH{2J_ z-wVSN+cEVKA^P;mdZdqb@5Ed66=v?ieNEr!zKzH6Q7B2yP2j~r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JPO7L3(e^1xW_gJj2)+h-e_d+{}!JHD0PaIu58cr7D%l2B1EbUivBzM zzuD}0o>@os94C2Ql8<*mfU$7=Ja20zdybRsDILs;1*joL>Lr}*?fsAKt(5yt$rvif v$zd%e9{u1W<#_o0gX4o^hia*eG^y$~n{#fL6>(bYWdCfl(x|c-*jVvT+nsm1 literal 0 HcmV?d00001 diff --git a/a1/program.c b/a1/program.c new file mode 100644 index 0000000..1975d67 --- /dev/null +++ b/a1/program.c @@ -0,0 +1,15 @@ +#include + +int main(){ +double x ; +double a ; +double b ; +double c ; +scanf("%lf",&x); +scanf("%lf",&a); +scanf("%lf",&b); +scanf("%lf",&c); +double r = (a*(x*x))+(b*x)+c; +printf ("Vysledok je %.2lf \n",r); + +} \ No newline at end of file