Design an application that either sums or averages

Assignment Help Computer Engineering
Reference no: EM1335387

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
0 -1 -7 13 8
4 4 4 4 0

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 that the commands on the Action 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 ControlChars.NewLine character. The message box also should ask the user if he or she wants to continue or to exit the application.

Reference no: EM1335387

Questions Cloud

Impact on forensic psychology : Hugo Munsterberg had a large impact on forensic psychology. Although he started his investigations in industrial psychology, he eventually explored eyewitness testimony.
Evaluation is an important component of training : Evaluation is an important component of training and What strategies do you all have to evaluate training effectiveness? Are these strategies effective? Why or why not?
Some examples of historical events : What are some examples of historical events that illustrate the effects of good quality on an organization's strategic plan.
Financial resources, physical resources and labor resources : Describe what financial resources, physical resources and labor resources are and give an example of each.
Design an application that either sums or averages : make 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 c..
Work breakdown structure differ from the project network : How does the Work Breakdown Structure differ from the Project Network (Diagram)?
Illustrate what were some of the major contributing factors : Illustrate what were some of the major contributing factors and how did they combine to cause the recession. How were you affected by it.
Discuss exceed customer expectations : Discuss what it means to exceed customer expectations. Explain your answer.
Usage of advances in the criminal justice technology : Your supervisor has asked you to prepare an article for the next issue of the Criminal Justice Technology Quarterly on how advances in criminal justice technology can improve resource deployment.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Recognize their foundation for execution

Research a specific organization to identify their foundation for execution, and post your results, including, for example, the operating model(s) for the organization.

  What aspects of environment support structure of colleges

What aspects of environment support structure of colleges.

  What a white box testing plan includes

A business letter addressed to the board of Jonesville Library introducing the contents of the document.

  Write down a program that includes a function picnic()

The passed floating-point number represents TOTAL amount of money to be spent on food. The function is to determine the quantity of HOTDOGS, HAMBURGERS,SALAD,PICKLES that can be purchaced, writing these values directly into the respective variable..

  What would be the last statement executed

define the output of the screen when the program executes with a value of 200.

  Distinguish between erp and scm software

Distinguish between ERP and SCM software. In what ways do they complement each other? Discuss the need for, and ways to integrate, these products with other types of enterprise systems.

  Assuring the snmp security

Create an argument for modifying to the other version or staying with v1 and forming the essential modifications to assure the SNMP security the v1 requires.

  Explain some benefits of code citations

What is an instance of how one would re-use a C# object. At the same time, one must avoid code plagiarism. How does one reconcile the two? Describe some benefits of code citations in addition to avoiding plagiarism.

  Express why you agree or disagree with this

Some organizations feel that IT planning is a waste of time since the competitive environment and technologies change too rapidly. They argue that their plans will be obsolete before they are completed. Briefly discuss/explain why you agree or dis..

  Developing the gui application

Write down a GUI application which prompts user for a number between 1 and 5. Be sure to involve error checking so that program continues to prompt the user for a number till the user's entry is between 1 and 5, inclusive.

  The ajax extensions tab of the toolbox

Inside the ContentTemplate element of the UpdatePanel server control add the standard RadioButtonList server control, Label server control and Button server control.

  Write down c program that has declaration in main() to store

Modify this display() function to alter the address in channels. Always use the expression *channels rather than *(channels + i) to retrieve the right elements.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd