Hi,
I have a Homework that say build 2D array with 4 rows and different columns
like this E.g
1 2 3
1 2 3 4
1 2
1 2 3 4 5
then sum of each row and columns
i have made the program , the sum of rows works good , but in columns i am facing a problem which is the length .
So my question is How to Defeat this problem
and thanks.