VINAY KUMAR GUPTA
2.Write a program to Add matrix and find out the Max and Min Value in Matrix ?
By VINAY KUMAR GUPTA in Algorithms in C# on Sep 07 2015
  • VINAY KUMAR GUPTA
    Sep, 2015 7

    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();}

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS