Harshad or Niven series: Difference between revisions
m
→{{header|UNIX Shell}}
m (→{{header|UNIX Shell}}: Formatting) |
|||
Line 4,811:
{{works with|Z Shell}}
<syntaxhighlight lang="bash">function main {
local -i i=0 n
gen_harshad | while read n; do
if (( !i )); then
|