Converting numbers into texts

Designing a program for conversion between numbers and texts is a good way to get used to the respective properties of numbers and texts. The program illustrates the use of CAT and SUB.


\begin{elan}
outint :
put ( ''This program converts a positive integer'' ) ;
...
... put ( ''Representation = '' ) ;
put ( representation ) ;
line .
\end{elan}