示例#1
0
 public static void Program11()
 {
     Console.WriteLine("Enter File Location:");
     string[] fileContent = Helper.readLinesFromFile(FileName: Console.ReadLine());
     Console.WriteLine("Read from file sucessful.");
     int[,] grid = Helper.CreateMatrixOfIntegers(fileContent);
     Console.WriteLine("Grid Created");
     Console.WriteLine("Enter the number of numbers you want to multiple.");
     Console.WriteLine(Program2to20.LargestProductInMatrix(grid, noOfNumbers: Convert.ToInt32(Console.ReadLine())));
 }