Horner's rule for polynomial evaluation: Difference between revisions

Line 105:
return 0;
}</lang>
=={{header|C sharp|C#}}==
<lang csharp>using System;
using System.Linq;
Line 123:
Output:
<lang>128</lang>
 
=={{header|C++}}==
The same C function works too, but another solution could be:
506

edits