Small confusion about index1 and index2 here. AFAIKS you don't need 3 indexes, ie
L3[i] = L1[i]*l2[i]
... but if you do then you should be incrementing them all, not just index3.
JamesCherrill
Posting Genius
6,373 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073
ps The third array is just an output from this method - there's no point passing it in as an input parameter - just create it inside the method and return it.
JamesCherrill
Posting Genius
6,373 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073
There's a hypertext link at the bottom of the thread that says something like "mark this thread solved". Just click it!
JamesCherrill
Posting Genius
6,373 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073