Solving coin problems: Difference between revisions

→‎{{header|Go}}: Changes to preamble following recent changes to Perl entry.
m (→‎{{header|Perl}}: better tempfile handling)
(→‎{{header|Go}}: Changes to preamble following recent changes to Perl entry.)
Line 29:
 
=={{header|Go}}==
This relatively simple program can only solve problems with 2 types of coins (or other objects) or 3 types of coins (but not other objects) without the need for an equation solver. However, it is able to solve all 28 problems of these types which were originally listed in the Perl entry before it was restricted to the subset of those problems (24) involving coins and bills.
<lang go>package main
 
9,482

edits