Initialization

This commit is contained in:
Kozar 2024-03-05 10:33:53 +01:00
parent 3b5b67b952
commit 19d013941d

View File

@ -10,7 +10,7 @@ int main() {
int length = 0; int length = 0;
double result = 0.0; double result = 0.0;
while (count < SIZE && scanf("%lf", &input) == 1) { while (count < SIZE && scanf("%lf", &input) == 1) {
coefs[count] = input; coefs[count] = input;
count++; count++;
} }
@ -26,4 +26,4 @@ int main() {
printf("Vysledok je: %.2lf\n", result); printf("Vysledok je: %.2lf\n", result);
return 0; return 0;
} }