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);