Fundamental use of arrays and loops --  sample problems

Given...int[][] n = new int[10][10];
             int[] tot = new int[10];

1...Assume n contains values. Put the row totals in tot.

2...Assume n contains values. Put the column totals in tot.

3...Add the left diagonal values to the right diagonal values.

4...Subtract the respective values in row 4 from row 6, putting the results
     in row 2. Apply this to each respective column.

5...In the same loop structure, find the largest and smallest value in n.

6...Find the most frequently occurring value.

7...Put the difference, between each row total and the respective
    cells involver, into the respective cell locations.

8...Starting at row 0, subtract the respective values in the even numbered
      rows from the values in the odd(next) numbered columns.

9...Compute the standard deviation of the array n.

10..Use nested loops to put 0's into all elements of the n array. Note:
      Put the zeroes into each cell in a clockwise manner -- not hitting the
      same cell twice.