Heronian triangles: Difference between revisions
Content deleted Content added
Walterpachl (talk | contribs) →{{header|REXX}}: add a line to avoid a Syntax error |
Walterpachl (talk | contribs) m typo |
||
Line 20: | Line 20: | ||
'''The task''' is to: |
'''The task''' is to: |
||
# Create a named function/method/ |
# Create a named function/method/procedure/... that implements Hero's formula. |
||
# Use the function to generate all the ''primitive'' heronian triangles with sides <= 200. |
# Use the function to generate all the ''primitive'' heronian triangles with sides <= 200. |
||
# Show the count of how many triangles are found. |
# Show the count of how many triangles are found. |