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
Mekhanik [1.2K]
3 years ago
7

assume an int array, candy, stores the number of candy bars sold by a group of children wherecandy[j] is the number of candy bar

s sold by child j. Assume there are 12 children in all.Which of the following code could be used to compute the total number of bars sold by the children?a) for(int j=0; j<12; j++) sum+= candy[j];b) for(int j=0; j<12; j++) candy[j] = sum;c) for(int j=0; j<12; j++) sum = candy[j];d) for(int j=0; j<12; j++) sum += [j];e) for(int j=0; j<12; j++) [j] += sum;
Computers and Technology
2 answers:
True [87]3 years ago
8 0

Answer:

it is A

Explanation:

GuDViN [60]3 years ago
5 0

Answer:

The first one. Important notice sum should be equal to zero before calculating the total sum.

You might be interested in
PYTHON CODING QUESTION
balandron [24]

Answer:

This looks great so far!

Explanation:

Great job on the code, keep up the amazing work!

3 0
3 years ago
To add text to a slide when using presentation software, you need to add a text box. To add a text box, click the Text Box butto
Ket [755]
Its A because u can add them using the format tab
3 0
3 years ago
Read 2 more answers
Why is time zone an important factor affecting when communicating
PilotLPTM [1.2K]

Answer:

Regarding real time communication, time zone differences between two count- tries impedes communication and may lead in the extreme case to no overlap in business working hours. With respect to traveling, East-West distance is more severe since a jet lag may affect the productivity of business travelers.

Explanation:

4 0
3 years ago
_____ run horizontally and _____ run vertically in a table.
V125BC [204]
ROWS run horizontally and COLUMNS run vertically in a table.
Hope this helps.=^)
5 0
4 years ago
What do we call a statement that displays the result of computations on the screen
antoniya [11.8K]

Answer: Screen statement

8 0
3 years ago
Read 2 more answers
Other questions:
  • Tablets combine the features of which two types of devices?
    10·2 answers
  • 5. Drawing Conclusions If you were a person in
    10·1 answer
  • Which tables and fields would you access to determine which book titles have been purchased by a customer and when the order shi
    15·1 answer
  • Corell Inc. has an online tool that offers a wide variety of Corell shoes for direct purchase. The tool even allows customers to
    9·1 answer
  • Write a program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither.
    10·1 answer
  • Mack has started with his first photographic assignment for a magazine. He has clicked around thirty images and uploaded them on
    10·1 answer
  • You and your project team have been asked to generate a solution to a problem. The problem is not complicated, and you are sure
    6·1 answer
  • What are the common uses of joysticks? ​
    12·1 answer
  • Assign total_owls with the sum of num_owls_A and num_owls_B.
    11·1 answer
  • What could be done to make sure that people follow copy right laws?
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!