From 740d05bf27bb9be92db1025c83c11a8c04cca580 Mon Sep 17 00:00:00 2001 From: Matus Tokarcik Date: Thu, 7 Mar 2024 11:57:31 +0100 Subject: [PATCH] cv3 --- cv3/program.c | 4 +++- cv3/program.exe | Bin 68805 -> 68805 bytes 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cv3/program.c b/cv3/program.c index ccd9d70..d3974a3 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -41,9 +41,11 @@ int main() { int stupen = 0; double vysledok = 0.00; int idx = 0; + int pocitadlo = 0; while (1){ char* b = fgets(Ppole,POLE,stdin); + pocitadlo++; if (Ppole[0] == '\n'){ //ked pride na enter break; @@ -54,7 +56,7 @@ int main() { continue; } if (isdigit(Ppole[i]) == 0){ - printf ("Nepodarilo sa nacitat polynom na %d mieste.\n", i); + printf ("Nepodarilo sa nacitat polynom na %d mieste.\n", pocitadlo); exit(0); } } diff --git a/cv3/program.exe b/cv3/program.exe index 7f2e7d323864be78e0bad69cbe9346c621614f52..b77766a1f1c6b9d3bd2772212ba536c1280f03ad 100644 GIT binary patch delta 3373 zcmai1YgAO%6+Y*}Fbpu6QJ5GI;~*DBQ5aOzCO*a&TvyS8%Lhhn$G1ih6ijs01Pn~t z=`13+?GjwIVocS<$3ky4CQ&o-vDBJn0V7p>6fx=;v?6Vcj|lzFT&yyGde_=#f8Rd) z?6c24``&?*m4PQK1IvCN5VrYFxqG72b!BVIdKlI(U}4@B6snh{9s!iBAC@-ne`W(vS+Vm9 z6nFcSGVfwXI1y$BCX`|?SAKEa^uasr?d^)&xl`CMcZ90-$^0v7(hmqb<@CVn+o>0I z364siE(s@R1+2xsIc_@W^uRbg#8lD*$5T#`oOqgZ+&-*Sm=2ccd_IW93q;?)gbiqb1c)&A#xLQIdnUC zaF^?C?d@f5=XWr|&*eNs{SDn;JtTbG&T6QIrufqf71J`0cPPy^$Zv`%UVKC-w)*2% zlezRXAhfO`TIdv$bPv!+T-f{_}~2aF+c7%Ul`Zq=itAA|G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