Обновить du2/program.c
This commit is contained in:
parent
ba4dd7ef3d
commit
0721f3f629
@ -67,7 +67,7 @@ int main() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
result = result * x + coef; // Apply Horner's method for polynomial evaluation
|
result = result * x + coef; // Apply Horner's method for polynial evaluation
|
||||||
}
|
}
|
||||||
|
|
||||||
// Print the result
|
// Print the result
|
||||||
|
Loading…
Reference in New Issue
Block a user