1
Reply

2.Write a program to Add matrix and find out the Max and Min Value in Matrix ?

VINAY KUMAR GUPTA

VINAY KUMAR GUPTA

Sep 07, 2015
829
0

    public static void Main(){int m, n, i, j;Console.WriteLine("Enter Row size :\n");m = int.Parse(Console.ReadLine());Console.WriteLine("Enter Column size :\n");n = int.Parse(Console.ReadLine());int[,] matA = new int[100, 100];int[,] matB = new int[100, 100];int[,] matResult = new int[100, 100];Console.WriteLine("Enter First matrix value :\n");for(i=0;imatResult[i,j]){low = matResult[i, j];}}}Console.WriteLine("Max value is :"+big);Console.WriteLine("Min value is :"+low);Console.ReadLine();}

    VINAY KUMAR GUPTA
    September 07, 2015
    0