Knapsack Problem/Visual Basic: Difference between revisions

m
Fixed syntax highlighting.
(Move long example to subpage)
 
m (Fixed syntax highlighting.)
 
(One intermediate revision by one other user not shown)
Line 1:
{{collection|Knapsack Problem}}
{{works with|Visual Basic|6.0}}
<langsyntaxhighlight lang="vb">Option Explicit
 
Type TreasureType
Line 158 ⟶ 159:
BuildDesc = cTmp
 
End Function</langsyntaxhighlight>
 
Output:
9,482

edits