Find square difference: Difference between revisions

Content added Content deleted
(Added Forth entry)
(→‎bc: add)
Line 202: Line 202:
end</syntaxhighlight>
end</syntaxhighlight>



=={{header|bc}}==
<syntaxhighlight lang="bc">(1000 + 1) / 2 + 1</syntaxhighlight>
{{out}}
<pre>501</pre>


=={{header|C}}==
=={{header|C}}==