Discuss the advantages of declaring and instantiating data

Assignment Help Data Structure & Algorithms
Reference no: EM131087592

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.

Reference no: EM131087592

Questions Cloud

What component cost of common equity will be built : Bouchard Company's stock sells for $20 per share, its last dividend (D0) was $1.00, its growth rate is a constant 5 percent, and the company would incur a flotation cost of 7 percent if it sold new common stock. If Bouchard has a capital budget of $2..
Utilize the put-call parity principle to analyze : Utilize the Put/Call Parity principle to analyze the following situation and discuss whether there is a profitable strategy. If there is a profitable strategy, what is it? Explain your calculations.
What is the current value of lease : Your car dealer is willing to lease you a new car for $319 a month for 72 months. Payments are due on the first day of each month starting with the day you sign the lease contract. If your cost of money is 4.9 percent, what is the current value of th..
Define the concept of time value of money : Define the concept of ‘time value of money’. Could the ‘time value of money’ vary over time? Search different periods in economic history to find examples to support your argument.
Discuss the advantages of declaring and instantiating data : 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.
What are the ten functions of a dbms : What are the ten functions of a DBMS? Define the term "referential integrity constraint" and give an example. What is the difference between a database, a DBMS, and a database application?
What organizations undertake the validation of forensic tool : What organizations undertake the validation of forensic tools (who are the trusted sources of tools validation reports). The processes and tests used to validate forensic tools.
Perform two iterations of gauss-sidel : Math 164 - Perform two iterations of Gauss-Sidel to approximate the solution of the system - What condition on A guarantees that the iterations will converge?
What is a lenticular cloud : 1. What is a lenticular cloud? Where and how do they form - provide a graphic 2. What is a wall cloud? What sort of weather is indicated by the formation of this type of cloud? Provide a graphic

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Currency conversion developmentapplication-level

currency conversion developmentapplication-level requirements list1. the program will prompt the user for data input of

  Test the database management system functionality

In a report that less than half of all companies validate the in their databases and test database management system's functionality. Explain your answer.

  Treat the problem as a directed graph with n nodes

Two distinct words can be joined if one, two or three of the letters at the end of the first word are the same as the letters at the beginning of the second word, and only if the letter/letters are in the same order.

  What is complexity of the gnome sort for the average case

What is the complexity of the gnome sort for the average case? Justify your answer. The justification can be based on approximate calculations.

  Create a decision tree diagram for selection of a cell phone

Use Microsoft Visio, PowerPoint, or Word to create a decision tree diagram for the selection of a cell phone. Address risk in your decision tree

  Problem 1 in an advanced country a point system is

problem 1 in an advanced country a point system is maintained to keep track of erring drivers and vehicle owners. the

  Create the shoutbox class for your virtual world

Create the ShoutBox class for your Virtual World. Your ShoutBox class will have two methods - initialize your data structures with words or have the user enter the words

  What-if and goal-seeking analysis

Problem 1: What-if and Goal-seeking analysis, Problem 2: Portfolio Planning using optimization, Problem 3: A Monte Carlo Simulation Problem

  Algorithm for locating nth successor in circlar linked list

Write algorithm or code segment for locating nth successor of an item in circlar linked list (the nth item that follows the given item in the list).

  Write a function to insert a node after the head

In a doubly-lined list, each node points to both the next and previous nodes. The info in the each node is an integer and two pointers, one to the previous node and one to the next node - Define the node

  How to use depth-first search to find out in time

Illustrate how to use depth-first search to find out in time O(|E|+|V |) whether undirected graph is 2-colorable. Describe and explain your strategy.

  Survey of fault tolerance policy for load balancing scheme o

This paper investigates about fault-tolerance in load balancing schemes in distributed environment. There are some more parameters influencing QOS but our main focus is on fault tolerance and load balancing.

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