Question
Must be in C#. Write an application that creates a two-dimensional array. Allow the user to input the size of the array (number of rows
Must be in C#. Write an application that creates a two-dimensional array. Allow the user to input the size of the array (number of rows and number of columns). Fill the array with random numbers between 0 and 100. Search the array for the largest value. Display the array values, numbers aligned, and the indexes where the largest value is stored. Use following headers:
public static void GetSizeOfArray(out int rowSize, out int colSize)
public static void FillArray(int[ , ] ranArray)
public static void DisplayTable(int[ , ] ranArray)
public static void DisplayLargestValue(int [ , ] ranArray)
public static int FindLargestValue(int[ , ] ranArray, ref int smallRow, ref int smallCol)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started