Pythagorean triples: Difference between revisions

Content added Content deleted
(→‎=={{header|Visual Basic}}==: added Visual Basic)
Line 3,641: Line 3,641:
say 'max perimeter =' N _ "Pythagorean triples =" T _ 'primitives =' P</lang>
say 'max perimeter =' N _ "Pythagorean triples =" T _ 'primitives =' P</lang>
{{out|output|text= &nbsp; is identical to the 1<sup>st</sup> REXX version.}}<br><br>
{{out|output|text= &nbsp; is identical to the 1<sup>st</sup> REXX version.}}<br><br>

{{out|output|text= &nbsp; when using the default input of: &nbsp; &nbsp; <tt> 10000 </tt>}}
<pre>
max perimeter = 10000 Pythagorean triples = 4858 primitives = 703
</pre>


=={{header|Ring}}==
=={{header|Ring}}==