Initialization
This commit is contained in:
parent
b32d54791f
commit
1d489bff98
@ -31,9 +31,11 @@ int main() {
|
||||
x = coefs[0];
|
||||
length = count;
|
||||
|
||||
while (getchar() != '\n') {
|
||||
for (int i = 1; i < length; i ++){
|
||||
result = result * x + coefs[i];
|
||||
}
|
||||
}
|
||||
|
||||
printf("Vysledok je: %.2lf\n", result);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user