Count in octal: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 2,493: | Line 2,493: | ||
IntToOctString 2.218 secs</pre> |
IntToOctString 2.218 secs</pre> |
||
=== |
===A recursive approach=== |
||
For this task, recursion offers no advantage in clarity or efficiency over iteration, but it's nevertheless an instructive exercise. |
For this task, recursion offers no advantage in clarity or efficiency over iteration, but it's nevertheless an instructive exercise. |
||
<lang Pascal> |
<lang Pascal> |