From c26eb9d983ea8d22793dc2e383eee4bc09972afe Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Fri, 18 Mar 2022 14:25:59 +0100 Subject: [PATCH] WQE --- du3/program.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/du3/program.c b/du3/program.c index 8191a28..757a585 100644 --- a/du3/program.c +++ b/du3/program.c @@ -22,8 +22,7 @@ int main(){ } } double v = strtod(riadok,&endptr); - vxod[i] = v; - a = i; + vxod[a++] = v; }else break; }