in reply to how to choose the greater or equal number in array

The correct answer to your obviously homework question is that you must run through the entire loop, not leave early.
  • Comment on Re: how to choose the greater or equal number in array