Knapsack problem/Continuous: Difference between revisions

m
→‎{{header|Java}}: cut lines too long
m (→‎{{header|Java}}: cut lines too long)
Line 93:
nf.format(item.getInKnapsack()) + " kg ",
item.getName(),
"(value = " + nf.format(item.getInKnapsack() * (item.getValue() / item.getWeight())) + ")"
(item.getValue() / item.getWeight())) + ")"
);
}