Initialization

This commit is contained in:
Kozar 2024-03-08 01:06:52 +01:00
parent b32d54791f
commit 1d489bff98

View File

@ -31,9 +31,11 @@ int main() {
x = coefs[0]; x = coefs[0];
length = count; length = count;
while (getchar() != '\n') {
for (int i = 1; i < length; i ++){ for (int i = 1; i < length; i ++){
result = result * x + coefs[i]; result = result * x + coefs[i];
} }
}
printf("Vysledok je: %.2lf\n", result); printf("Vysledok je: %.2lf\n", result);