in reply to how do I find one number that matches in elements of same array and combine those elements?

  1. Your question is not clear to me, perhaps you can give an example of the output you expect from your program based upon the @array you showed.
  2. What have you tried already?

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re: how do I find one number that matches in elements of same array and combine those elements?
  • Download Code

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.