From a52c984ed20404d622bf2e28b81816bd9e2b79f1 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Thu, 17 Mar 2022 16:38:10 +0100 Subject: [PATCH] SAD --- du3/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/du3/program.c b/du3/program.c index 512b117..1e21ff0 100644 --- a/du3/program.c +++ b/du3/program.c @@ -11,9 +11,9 @@ int main(){ a = i; } value = 0; - results = vxod[0]; + result = vxod[0]; do{ - result = results * vxod[value] + 1; + result = result * vxod[value] + 1; value++; }while(value < a); printf("%d\n", result);