Was doing a question when I came across this problem.
I was required to find the CORRESOPONDING value if the charge is, for example, the lowest.
This is how the printf is suppose to be like.
Lowest charge= $xxx.xx and the corresponding length = xxx.
Let say my lowest charge is $50. How to I refer it from my data file to output the corresponding length (which in this case, as from my data file, the value is 20).
Your help is appreciated!