Initialization

This commit is contained in:
Kozar 2024-03-05 11:08:01 +01:00
parent 9a492ea9a4
commit 32c42e2558

View File

@ -22,8 +22,10 @@ int main() {
length = count;
for (int i = 1; i < length; i ++){
result = result * x + coefs[i];
result = coefs[0];
for (int i = 1; i < length; i ++) {
result = result * x + coefs[i];
}
printf("Vysledok je: %.2lf\n", result);