Initialization

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

View File

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