fractional-knapsack program for fractional knapsack which is easy to understand and greedy method has been used.