using System; public class Exercise25 { public static void Main() { int i,j,n; int[,] arr1 = new int[10,10]; int[] rsum = new int[10]; int[] csum = new int[10]; Console.Write("\n\nFind sum of row an column of a Matrix:\n "); Console.Write("-------------------------------------------\n"); Console.Write("Input the size of the square matrix : "); n = Convert.ToInt32(Console.ReadLine()); Console.Write("Input elements in the matrix :\n"); for(i=0; i