Explain 2 dimensional arrays in detail

Assignment Help C/C++ Programming
Reference no: EM13938800

2 dimensional arrays Service Calls Company Report

Service Calls Company Report

The Service Handlers Company handles daily service calls (phone calls) from customers. The company handles clients' problems over the phone. The company needs to generate a a summary on the calls made in a given month.

The data collected is each day's service calls that come in are recorded in a file named SericeCalls.dat.

The data indicates the type of service call made and the number of minutes that service call lasted. The company handles several different kinds of calls and each day there will be several different entries for a given call. The input will be two numbers per line where the first number is the type of service call and the second is the number of minutes that call lasted.

Each input line is a record of one service call. There are 25 different types of services rendered that are numbered 1 to 25.

For example:

3 30 service number 3 and lasted 30 min.
21 45 service number 21 lasted 45 min.
6 28 service number 6 lasted 28 min.
etc..

The company can handle up to 25 different kinds of services. The input file is one month of data.

You are to count the number of service calls for each type of service and the number of minutes the call took.

The report should have in it the following information.

• The report should have a title and headings.

• Output for each type of service call rendered,

• the total number of that service call handle for the month,

• the total number of minutes spent on that type of service call,

• the average number of minutes each service type took to handle,

• the overall average a service calls took for the month.

• You must use a 2-D array, pass array, and use functions.

Your 2-D array use the row number as the type of service call (1-25) (you can ignore row 0 so your 2-D array will have 26 rows, 1 to 25 and row 0 not used), column 0 as the accumulated times for the given service call, column 1 that count the times the given kind of service call (count the calls for service call 1, call 2 ... call 25 that was used in the given month), col 2 for the average for each service call made for the month.

Attachment:- ServiceCalls.txt

Reference no: EM13938800

Questions Cloud

Improve processes and activities in organisation : What motivates you to succeed at your work? How do you define a productive day? What things do you consider important in motivating and involving people in organisational change? What steps would you use in managing people to improve processes and..
Determine the revised annual depreciation expense : On January 1, 2007, Blizzards-R-Us purchased a snow-blowing machine for $85,000. Determine the revised annual depreciation expense for 2009.
Distinguish between the five different leukocytes : Identify the arterial and venous circulatory changes that occur in the fetal circulation. Distinguish between the five different leukocytes and describe their roles in protection of the body.
So far our discussion and focus has been on business : So far our discussion and focus has been on business combinations where 100% of another company has been acquired.
Explain 2 dimensional arrays in detail : The data collected is each day's service calls that come in are recorded in a file named SericeCalls.dat.
What is your overall evaluation of the proposed services : Write a paper that documents your transition pathways experience. Include the following in your paper: Are the recommended assessments available? Summary: what is your overall evaluation of the proposed services
How does it affect venous return of blood to the heart : Describe Valsalva's maneuver by stating the role of the vocal cords and the abdominal muscles in accomplishing this maneuver. How does it affect venous return of blood to the heart? Why is it used as a test for the presence of a space-occupying le..
What is the book value of the machine at the end of year : What is the book value of the machine at the end of 2009? What would have been the effect on the financial statements if Roanoke Manufacturing had expensed the addition of the robotic arm?
Why wal-mart engaged in internationalisation strategies : Through the use of suitable tools, conduct a foreign market analysis and evaluate critically the strategic and environmental reasons of why Wal-Mart engaged in internationalisation strategies.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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