Multidimensional Arrays

Question # 00454522 Posted By: kimwood Updated on: 01/03/2017 12:52 AM Due on: 01/03/2017
Subject General Questions Topic College life Tutorials:
Question
Dot Image

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

499204551954619
508314737348339
394303682444260
546975122944390
417513696639732
361104033244073
419285329453308
484604490735459
397143605052448
492715157438364
517133975839990
389035384747373

Dot Image
Tutorials for this Question
  1. Tutorial # 00450315 Posted By: kimwood Posted on: 01/03/2017 12:52 AM
    Puchased By: 3
    Tutorial Preview
    The solution of Multidimensional Arrays...
    Attachments
    green.zip (1.06 KB)
    thecode.docx (60.98 KB)
    Recent Feedback
    Rated By Feedback Comments Rated On
    sw...arks Rating Brilliant tutorials 05/22/2018

Great! We have found the solution of this question!

Whatsapp Lisa