Special pythagorean triplet: Difference between revisions
Content added Content deleted
(→{{header|REXX}}: added an option to allow more than one solution to be found.) |
m (→{{header|REXX}}: added a glyph to the last comment.) |
||
Line 317: | Line 317: | ||
/*──────────────────────────────────────────────────────────────────────────────────────*/ |
/*──────────────────────────────────────────────────────────────────────────────────────*/ |
||
show: #= # + 1; say ' a=' a " b=" b ' c=' c; exit 0 |
show: #= # + 1; say ' a=' a " b=" b ' c=' c; exit 0 |
||
/*replace EXIT 0 with RETURN to find more possible |
/*replace EXIT 0 with RETURN to find more possible solutions──►──┘ */</lang> |
||
{{out|output|text= when using the default inputs:}} |
{{out|output|text= when using the default inputs:}} |
||
<pre> |
<pre> |