Fractional Knapsack(Greedy Algorithms Lecture)

I have written my code for the fractional knapsack problem. Please check


Also, provide the link to the fractional knapsack problem.

Hi mohd
You should make the max value as double

Hope it helps :slight_smile: