Pythagorean triples: Difference between revisions
Content added Content deleted
(→=={{header|Visual Basic}}==: added Visual Basic) |
m (→using single evenness for determinacy: added output for 10K.) |
||
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= is identical to the 1<sup>st</sup> REXX version.}}<br><br> |
{{out|output|text= is identical to the 1<sup>st</sup> REXX version.}}<br><br> |
||
{{out|output|text= when using the default input of: <tt> 10000 </tt>}} |
|||
<pre> |
|||
max perimeter = 10000 Pythagorean triples = 4858 primitives = 703 |
|||
</pre> |
|||
=={{header|Ring}}== |
=={{header|Ring}}== |