Count the coins/0-1: Difference between revisions

m
(Added FreeBasic)
m (→‎{{header|Wren}}: Minor tidy)
Line 1,228:
Well, after some huffing and puffing, the house is still standing so I thought I'd have a go at it.
Based on the Perl algorithm but modified to deal with the extra credit.
<syntaxhighlight lang="ecmascriptwren">import "./fmt" for Fmt
import "./math" for Int
 
var cnt = 0 // order unimportant
9,476

edits