I'm not following this logic at all. In general, there will be many paths from MCO to LAX. You only want to count the number of flights on the route with the fewest number.
Code:
for (i = 0; i < ??; i++)
if airports [j] == flights [i] [0]
airports [j]++
again, not correct syntax, obviously, omitted variables and such...but along these lines generally I hope
am I at least getting closer?
Last edited: