knapsack C++ program

C++ program knapsack