Say I have a Vector of numbers, and I know some are duplicates. Now, I iterate through this Vector, looking for numbers that match. If so, they are multiplied and the result is added to the Vector.
I highly recommend Wonderful Life with the Elements as a companion to the science classroom. Our world, everything we know, can be distilled into 188 elements. The very thought is fascinating in its ...