Design and implement a program that will take in records and display records using a two-dimensional array. Your array must have at least 3 columns. One of those 3 columns must contain something of type integer or double (like an age, salary, etc.). Besides having a button to enter records into the array, your program must also have a button to display all records, and a button to calculate the average of the numeric field of all records listed above. Assume that only 50 records will be allowed.
Create an additional button that will randomly choose one of the existing records in your array and display all the fields of that record in a message box.
Create a clear button that will empty the array. This means actually clearing out all items in the array, not just list boxes or labels that may contain record information.