Harshad or Niven series: Difference between revisions

Content deleted Content added
Markjreed (talk | contribs)
Markjreed (talk | contribs)
Line 4,811: Line 4,811:
{{works with|Z Shell}}
{{works with|Z Shell}}
<syntaxhighlight lang="bash">function main {
<syntaxhighlight lang="bash">function main {
local -i i=0
local -i i=0 n
gen_harshad | while read n; do
gen_harshad | while read n; do
if (( !i )); then
if (( !i )); then