posted 16 years ago
I am doing a project where I have to sum each row in a 2-dimensional array. The thing is that this must be done in a separate method, then returned to the main method as a new array. I know how to sum each row in a 2-dimensional array, but I don't know how to create a new array with this.
Here is what I have so far:
So I guess what I need help with is how to get the sum of each row into the new array sum[]. Any help?
[ June 16, 2008: Message edited by: J Calabrese ]
[ June 16, 2008: Message edited by: J Calabrese ]
[ June 16, 2008: Message edited by: J Calabrese ]