Create a sub called total to calculate sum for all number

Assignment Help Programming Languages
Reference no: EM131320878

Assignment

Instructions:

For Form_Load display, use a textbox and check its "multiline" checkbox. To display data on Form_Load, use a txtOutput. AppendText() method (i.e. NOT a listbox control).

1. Declare a global array "temp()" and populate it with data from a "Data" file (in bin/Debug)

2. Declare a global array "numbers1()" and set its upperbound to temp()

3. In Form_Load:

a) Convert temp() as String to numbers1() as Double: Use For Next loop

b) Create numbers2() and populate it with numbers1(): Use For Next loop

c) Create numbers3() and populate it with numbers2(): Use For Next loop

d) Sort numbers2() in ascending order. USE ARRAY SORT METHOD

e) Sort numbers3() in descending order. USE ARRAY REVERSE METHOD

f) Display column headers: "ArrayIndex" "fromFile" "Ascending" "Descending"

g) Display the results

4. Create a Sub called Total to calculate the sum for all numbers in Data file.

5. Inside btnTotal_Click, call the Total Sub

6. Create a Sub called MinMax to determine the largest and smallest numbers in Data file. USE FOR EACH Loop!!

7. Inside btnMinMax_Click, call the MinMax Sub

8. Create a Sub called Average to calculate the average of the numbers in Data file. USE THE "AVERAGE" BUILT-IN SYSTEM METHOD

9. Inside btnAverage_Click, call the Average Sub.

Reference no: EM131320878

Questions Cloud

Suppose electricom marketing manager : Suppose Electricom's marketing manager learned that actual sales of his firm's electric widgets to NAICS industry #335312 amounted to about 20 percent of its national market potential for that industry
Is definition of conductivity limited to thermal equilibrium : Describe the conditions at which the conductivity is an equilibrium parameter and hence a fundamental property of a solid.
What is the biblical basis for your philosophy : How can you use, teach, and equip others to participate in multicultural ministry? Use at least 2 relevant academic references to support your ideas. What is the biblical basis for your philosophy
Topic-indo-chinese restaurant : (a) SWOT Analysis - Identifies strengths, weaknesses, opportunities, and threats to provide a solid foundation, which is the springboard to identify subsequent actions the marketing plan.
Create a sub called total to calculate sum for all number : Create a Sub called Total to calculate the sum for all numbers in Data file. Create a Sub called MinMax to determine the largest and smallest numbers in Data file. USE FOR EACH Loop!!
Cash flow amount to use initial investment in fixed assets : Kenny, Inc., is looking at setting up a new manufacturing plant in South Park. The company bought some land six years ago for $8.5 million in anticipation of using it as a warehouse and distribution site, but the company has since decided to rent fac..
What is the drift velocity of the electrons : A current of 1 A/cm2 is forced through an n-type Si bar with a resistivity of 1 ohm-cm at 300K. What is the drift velocity of the electrons? How long does it take for an electron to drift through an Si bar of 1mm long?
How would you expect the performance metrics to change : How would you expect the performance metrics to change? Inventory level or capital cost.Do you believe that a lean philosophy will work for CVS (based on the company, the industry, etc.)?Make at least one recommendation to help make the lean initiati..
Analyze the financial health of the firm : Of course he needs also your recommendation based on the calculation the initial investment, the incremental operating cash flow, the terminal cash flow, and the relevant cash flow associated with each of the alternatives - As a Future Business Le..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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