Code is partially correct please tell me the problem to help you i have commented some statement to understand the program please the solution.
What if more than one fruit doesn’t exist
thanks buddy, I understand the problem.
what is the problem in my solution
The prices can be 0
when the price of the fruit is 0 it can be possible as the given fruit can have price of 0 then the lowest price will be 0.
Here is the link of my solution using STL
what is the problem in my solution. Can anyone plz help?
thanks, man I got that