Fractional Knapsack Program In C