Find square difference: Difference between revisions

(Added Forth entry)
(→‎bc: add)
Line 202:
end</syntaxhighlight>
 
 
=={{header|bc}}==
<syntaxhighlight lang="bc">(1000 + 1) / 2 + 1</syntaxhighlight>
{{out}}
<pre>501</pre>
 
=={{header|C}}==
559

edits