Question: It should be solved with the C # program. It should be solved through the solution in the picture and give the output screen as

It should be solved with the C # program. It should be solved through the solution in the picture and give the output screen as in the example.

It should be solved with the C # program. It should besolved through the solution in the picture and give the output screenas in the example. Write a program by C# programming language that

Write a program by C# programming language that has the followings: static void Main(string[] args) try // Declare two integer variables maned as "row" and "col" // // Get the values of the "row' and "col" from the user // // if the value of the "row" is less than 1, catch part will be run // // if the value of the "col" is less than 1, catch part will be run // Declare the two dimensional integer array "matrix" // which has the size (row x col) // Create the Streanliter object maned as "sw'. // "sw' will reference "mFile txt" // Call "Create Randonlumbers" method // to assign random values to each element of "matrix" array // Call "WiteToFile" method. // Create the Streanileader object maned as "sr". // "sr" will read all content of "File.txt" // and the content will be displayed at Console window } catch (Exception) { // } . 1 public static void CreateRundenbers(int[] => { // Create random members for each element of the "il array. // Random values will be between 10 and 100 } { public static void WiteToFile(StreamWiter w int[] => // Wite the elements of the "warray in the nutrix forunt // to the file "File txt". // call the "Average All Elements" method and // write the returned value after the text 1/ "The average of all elements of the matrix" in the file "File txt". // // Put the header "LIST OF CLD NUMERS IN EACH POW" in the file "File.txt". // Call the "Wited Numbers Of Eachillow method. 11 // Put the leader "LIST E EVEN NUMBERS IN EACH CLIMT in the file "File txt" // Call the "WiteEvenimbers Of Each Col" method. public static double Average CFA 1 Elements (int[] => // } public static void Witek Numbers Of Eachow(Streamliter w int[]) { // Wite the odd wees in each row of the warray // to the File txt" w in the output exple. > public static void WiteEveniersOfEachColum(Streamliter w int[] =>

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!