Create an application that either sums or averages the rows or columns of a two-dimensional array depending on user choices. Use the following data for the array:
| 5 | 7 | 3 | 9 | 12 |
| 4 | 8 | 9 | 13 | 4 |
| | -1 | -7 | 13 | 8 |
| 4 | 4 | 4 | 4 | |
Create a menu bar with a File menu that includes a Perform Action command and an Exit command. The Perform Action command computes either the sum or the average of the rows or columns in the array and displays the result in a message box. The Exit command exits the application.
Create a second menu on the menu bar called the Action menu. Add a Sum Rows command, Sum Columns command, Average Rows command, and Average Columns command to the Action menu. Use the RadioCheck and Check properties of each command to allow the user to select a command on the Action menu. The Perform Action command checks to see which command is selected on the Action menu to determine which operation to execute when the user clicks the Perform Action command.
Note the commands on the Action menu do not require any event procedures. Include appropriate shortcut keys for all commands. After the Perform Action command executes, the program should display the results in a message box. The message box should display results for each row or column separated by a [url removed, login to view] character. The message box also should ask the user if she or he wants to continue or to exit the application.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.