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 widthnumber of columns in the table can be specified.
 
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*/