Babbage problem: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: added wording to the REXX section header (preamble), pruned the last two outputs (saying that they're identical to the first).) |
m (→{{header|REXX}}: fixed an auto-corrected word.) |
||
Line 184: | Line 184: | ||
:::* explain how/why an '''end''' statement is needed for a '''do''' loop |
:::* explain how/why an '''end''' statement is needed for a '''do''' loop |
||
:::* explain how a '''leave''' statement works |
:::* explain how a '''leave''' statement works |
||
:::* <big>···</big> the '''say''' is |
:::* <big>···</big> the '''say''' is probably the only statement that is self-explanatory |
||
===examine the right-most 6 digits of square=== |
===examine the right-most 6 digits of square=== |
||
<lang rexx>/*REXX program finds the lowest (positive) integer whose square ends in 269,696. */ |
<lang rexx>/*REXX program finds the lowest (positive) integer whose square ends in 269,696. */ |