結果 : write a program to find solution for knapsack problem using greedy method. in c