subject

Acorpora tion has six divisions, each respons ible for sales to differen t geograph ic loca tions. design a di vsal es class that keeps sales data for a division, with the following members: • an array with four elements for holding four quarters of sales figures for the division. • a private stat ic variable for holding the tota l corporate sales for all divisions for the entire year. • a member function that takes four arguments, each assumed to be the sales for a quarte r. the value of the arguments should be copied into the array that holds the sales data . the total of the four argumen ts shou ld be added to the static variable that holds the tota l yearly corpora te sales. • a function that takes an integer argument within the range of oto 3. the argument is to be used as a subscript into the division quarterly sales array . the function should return the value of the array element with that subscript. write a program that creates an array of six di vsal es objects. the program should ask the user to enter the sales for four quarte rs for each division. after the data is entered, the program should display a table showing the division sales for each quarter. the program should then display the total corporate sales for the year.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
Give an example of a case where a two-way handshake to establish a connection could leave one side of the connection live while the other side does not believe there is a connection.
Answers: 1
question
Computers and Technology, 22.06.2019 17:00
Match the following. 1. show grouping of word processing tasks that can be performed quick access toolbar 2. shortcut location for commonly used elements scroll bars 3. organized commands used to modify documents ribbon 4. used to align and measure content in a word screen zoom bar 5. vertical and horizontal bars that are used to navigate through a document contextual tabs 6. displays the name of the document in use ruler 7. allows users to enlarge or shrink a visual of a word document title bar
Answers: 2
question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
question
Computers and Technology, 23.06.2019 12:50
Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a missing space a comma in place of a period a missing closing quotation mark
Answers: 1
You know the right answer?
Acorpora tion has six divisions, each respons ible for sales to differen t geograph ic loca tions. d...
Questions
question
Mathematics, 10.04.2021 03:00
question
Mathematics, 10.04.2021 03:00
question
English, 10.04.2021 03:00
question
Mathematics, 10.04.2021 03:00
question
Mathematics, 10.04.2021 03:00
question
Mathematics, 10.04.2021 03:00