Write a method that returns the average employee salary

Assignment Help Data Structure & Algorithms
Reference no: EM131190980

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

Reference no: EM131190980

Questions Cloud

Why and where is flow control needed? explain its parameters : Explain stop-and-wait flow control with special reference to the handling of (i) a damaged frame (ii) a lost frame.
Determine the true location of a host device on the internet : Many companies perform IP to geo-location analysis on their clients for various reasons such as marketing, interest or security. In 5 pages (no less, no more!) explain the techniques used to determine the true location of a host device on the Inte..
Confidence interval for the mean percentage return : Construct a 98% confidence interval for the mean percentage return of all superannuation funds operated in Australia. (ii) State the assumption(s) and/or theorem(s) that you use in (i).
Evaluate articles in the field of adult development : Describe the main points of the article and how it relates to the week's course and text readings. Evaluate the article on the basis of your own thoughts and perspectives on the topic covered.
Write a method that returns the average employee salary : 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.
Find the probability distribution of y : The profit on each computer is Rs. 2000.00. If at the time of opening the store 10 computers are in stock (with no replenishment during the daytime), the profit from the sale of the computers during the day is ( ) 2000 , 10 Y min X = . Find th..
Discuss the pros and cons to each of these strategies : You should identify at least three scholarly and independent sources utilizing services such as (but not limited to) Google, Google Scholar, or Scirus over the Internet, or the resources offered through the South University Online Library.
Different from traditional prison programming : Summarize the reasons why Senate Bill 618 was implemented in California, the program's design, and why it was different from traditional prison programming.
Maximum thermal efficiency for an otec : How to plot the maximum thermal efficiency for an OTEC facility operating with a temperature difference range of 10°C

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

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