Talk:Loops/N plus one half

From Rosetta Code
Revision as of 21:00, 4 November 2009 by 81.204.252.55 (talk) (Created page with 'I noticed that many implementations don't run the loop 9.5 times. Instead a check is made whether the comma has to be printed. This way the loop still runs exactly 10 times, with…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I noticed that many implementations don't run the loop 9.5 times. Instead a check is made whether the comma has to be printed. This way the loop still runs exactly 10 times, with a different action taken depending on the loop variable.