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

  Make two alternative design strategies

Describe two alternative design strategies, and explain how each would meet the requirements. What are the constraints in this situation.

  How to protect your network to keep data safe

describe how to protect your network to keep data safe from loss or damage.

  How to handle performance deterioration in wlan

South West State University installed a series of 4 Wi-Fi omni-directional APs (access points) spread across the ceiling of the key floor of their library.

  How a box of caramel delites girl scout cookies

How to a box of Caramel deLites Girl Scout cookies Every spring you looking forward to buying a box of Caramel deLites Girl Scout cookies

  Give a variable whose value is a letter grade

suppose that grade is a variable whose value is a letter grade-- any one of the following letters: 'A', 'B', 'C', 'D', 'E', 'F', 'W', 'I'. Assume further that there are the following int variables, declared and already initialized: acount, bcount,..

  Translation of this into a generic assembly language

A compiler for a RISC machine would introduce delay slots into this code so that the processor can employ the delayed branch mechanism.

  Give declaration and definition of a structure

Write down a program to display the initial values held by the structure (you must use a structure) on the screen.give declaration and definition of a structure.

  The target is one to two sentences

create 10 test cases and explain the purpose of each of them. The purpose is one to two sentences. For example the purpose of (3,4,5) is to test that the program correctly identifies a right angle (9+16 = 25).

  Write down an account class

Write down an Account Class.

  Program on wireless connection technology

Program on wireless connection technology.

  Find out and display the total owed for all taxpayers

A taxpayer's federal tax due is calculated as follow. First, the taxpayer gets a dependency exemption deduction of $2,000 for each child. So, if a taxpayer has two children, he or she would get a dependency exemption deduction of $4,000. A taxpaye..

  Why the technique is called a bubble sort

Write down a program that implements a method that receives an array parameter and sorts that array using the bubble-sort algorithm.. why The technique is called a bubble sort.

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