Anonymous user
Smallest square that begins with n: Difference between revisions
m
→{{header|REXX}}: changed wording in the REXX section header.
(→{{header|REXX}}: added the computer programming language REXX.) |
m (→{{header|REXX}}: changed wording in the REXX section header.) |
||
Line 159:
=={{header|REXX}}==
A little extra code was added to display the results in a table, the
Also, the output display was generalized so that if a larger number than expected, it won't be truncated.
<lang rexx>/*REXX program finds and displays (positive integers) squares that begin with N. */
numeric digits 20 /*ensure that large numbers can be used*/
|