Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Multidimensional Arrays

It is important to understand how to use two-dimensional arrays. This week the two dimensional array is utilized with custom methods.

Assignment

Greenway Consulting surveyed the employees of three companies Alhermit, Logway, and Felter Corporations to evaluate the salaries for the employees.

Write a program that does the following:

• Put the data below into a multi-dimensional array
• Prompts the user for the company they would like employee salary statistics.
• Write a method that returns the average employee salary as a double.Pass the company number and employee Wages to this method.
• Write a method that returns the total employee salary as an int. Pass the company number and employee Wages to this method.
• Write a method that returns the number of employees as an int. Pass the company number and employee Wages to this method.
• In the main method call the other methods and out put the results.

Make a screenshot of the output and include it as an attachment to the Week 6 Assignment. Also, include the program code in a text file to run on another computer. Comment the code to receive full credit (see page 45).

Data

Alhermit

Logway

Felter

49920

45519

54619

50831

47373

48339

39430

36824

44260

54697

51229

44390

41751

36966

39732

36110

40332

44073

41928

53294

53308

48460

44907

35459

39714

36050

52448

49271

51574

38364

51713

39758

39990

38903

53847

47373

Please submit your screenshot and the code in a file with your

Discuss the advantages of declaring and instantiating data in multidimensional arrays. Show an example that you can use in one of your programs or any program.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91825527

Have any Question?


Related Questions in Computer Engineering

Stack implemented with slldesign and code your own lifo

Stack implemented with SLL Design and code your own LIFO Stack using single liked list to hold a list of integers. Use the C++ "struct" structure to create your SLL nodes. Node position numbering should start with one. Y ...

If the annualized five-year rate of return is 15 and if the

If the annualized five-year rate of return is 15%, and if the first year's rate of return is 20%, and if the returns in all other years are equal, what are they? Provide the answer in % with four decimal places without r ...

How do you make a java program that reads two diagonal

How do you make a Java program that reads two diagonal points, say p1 and p2, of an up-right rectangle and finds both the smallest circle containing the rectangle and the largest circle that can be contained in the recta ...

Question suppose you arc a board game maker and you want to

Question : Suppose you arc a board game maker, and you want to give players a higher probability of rolling larger numbers. Originally you had them roll three six-sided dice and add their results. The new approach will h ...

Question suppose message a is one block long suppose that

Question : Suppose message (a) is one block long. Suppose that an attacker has received the MAC (t) for a using CBC-MAC under some random key unknown to the attacker. Explain how to forge the MAC for a two-block message ...

Question suppose we perform n makeset operations followed

Question : Suppose we perform n MAKESET operations followed by m > n Find and/or Union operations? What is the worst case total amount of time spent using union by rank with path compression?

Question using an organization of your choicedevelop a

Question: Using an organization of your choice: Develop a Complete Disaster Recovery Plan to be submitted to the executive board of your company. Please note that this is a formal writing, all references (peer-reviewed) ...

How technology government regulations international

How technology, government regulations, international factors, expectations about the future, and the macroeconomy play a role in managerial decision-making? Carefully explain each by giving example.

A firm produces product a and product b this years sales

A firm produces Product A and Product B. This years sales price of Product A have decreased tremendously, and the sale of Product B has increase by 10 percent. The firm has threeemployees that can produce Product A and f ...

Question what is the relationship between programming and

Question : What is the relationship between programming and networking, and do you think that the United States has lost some of its economic advantage in these fields to other parts of the world?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As