Jump to content

Special pythagorean triplet: Difference between revisions

Added Easylang
m (→‎{{header|Wren}}: Changed to Wren S/H)
(Added Easylang)
 
Line 285:
</pre>
 
 
=={{header|EasyLang}}==
{{trans|11l}}
<syntaxhighlight>
for a = 1 to 1000
for b = a + 1 to 1000
c = 1000 - a - b
if a * a + b * b = c * c
print a & " " & b & " " & c
.
.
.
</syntaxhighlight>
{{out}}
<pre>
200 375 425
</pre>
 
=={{header|F_Sharp|F#}}==
2,069

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.