I was solving a fractional knapsac problem. The output is to find max profit with 4 digits after the decimal point and number of items, capacity, values and weights are give