Count in octal: Difference between revisions
Content added Content deleted
Line 2,632: | Line 2,632: | ||
===A recursive approach=== |
===A recursive approach=== |
||
For this task, recursion offers no advantage in clarity or efficiency over iteration, but it's nevertheless an instructive exercise. |
|||
<syntaxhighlight lang="pascal"> |
<syntaxhighlight lang="pascal"> |
||
program OctalCount; |
program OctalCount; |