1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Lerok [7]
4 years ago
5

Given storeMonthlySales NUM STOREST[NUM MONTHST[NUM DEPTS] is a three-dimensional array of floating point values. Write a C++ fu

nction, printMonthlySales, to calculate and print the total value of sales during a specific month by each department and in each store plus totals by store and department and overall sales. The return type of the function is void and the function must have 2 input parameters Sales array and the month the user specified (edit for correct month values!). The constants NUM STORES, NUM_MONTHS, and NUM_DEPTS must be accessed globally by defining the following global variables #define NUM DEPTS 2 #define NUM STORES 2 #define NUM-MONTHS 12 or const int NUM-MONTHS-12; or const in NUM_DEPTS 2; or const int NUM_STORES 2; The array Sales is initialized by the following statement within main() float storeMonthlySales[NUM STOREST[NUM MONTHS1[NUM DEPTS]- 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1,3.2, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4.0, 4.1, 4.2, 2.1, 2.2,2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.2 Output: Sales for month of value (where value represents "January", "March", etc.) Dept # value value col value sum Dept # Store Total Store # value row value sum tore # value row value sum Dept Total col value sum total overall sales User enters a new month as many times as they wish and run printMonthlySales against the new month alue Validate user input ("y" or "n") when asking if the user wants to enter a new set of values
Computers and Technology
1 answer:
iogann1982 [59]4 years ago
5 0

Answer:

Y

Explanation:

YEZ

You might be interested in
IT professionals should help to protect users’ personal information, such as bank account information or Social Security numbers
sesenic [268]

To prevent theft of account information, identity theft, money, important passwords, and personal information.


Hope it helps ❤️

8 0
4 years ago
Read 2 more answers
55555,5555,555,55,5​
REY [17]

Answer: Decreasing Function????????????????????????????????

Explanation:

I'm confused, but I'm still gonna try and answer

6 0
3 years ago
Wich is the correct process for selecting an entire row in a spreadsheet?
Eva8 [605]
CTRL - (select sentence) - ALT

6 0
3 years ago
Help with prg 140 class it is really giving me a hard time understanding it<br>​
Snowcat [4.5K]

Answer:

post your homework so we can help you.

Explanation:

8 0
3 years ago
Which command will display a list of files and subdirectories in a directory?
sattari [20]
Ls -R

man ls




----------------------
3 0
4 years ago
Other questions:
  • How do u feel about distance learning in a paragraph?
    6·2 answers
  • Explain the steps you take to complete an Internet search. Do you use a particular search engine every time or do you alternate?
    6·1 answer
  • Jasper and Samantha are in a robotics competition. The guidelines state that the robots should be able to move a 10-gram weight
    9·1 answer
  •  How does critically analyzing technology add value to interactions with people in personal and professional contexts?
    7·2 answers
  • Which king, after finding the decree of Cyrus giving the Jews permission to return and build the Temple, ordered the end of oppo
    11·2 answers
  • The design of a blog refers to:
    8·1 answer
  • Explain steps in creating a main document for from letter. <br>​
    5·1 answer
  • Write a Python function that join the two string and print it ​
    14·2 answers
  • 2.9.8 stop light codehs
    10·1 answer
  • In what type of attack does the adversary leverage a position on a guest operating system to gain access to hardware resources a
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!