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
Which describes the "Network Effect?
KIM [24]

Answer:

phenomenon

Explanation:

Increased numbers of people or participants improve the value of a good or service.

3 0
3 years ago
What is the function of a slide transition in a presentation program? A. It enables you to change the presentation layouts. B. I
Allushta [10]

I believe you answer is going to be A.

5 0
3 years ago
This is an example of what type of formula?
slamgirl [31]

Answer:

Average

Explanation:

The term 'average' refers to the 'middle' or 'central' point. When used in mathematics, the term refers to a number that is a typical representation of a group of numbers (or data set). Averages can be calculated in different ways - this page covers the mean, median and mode.

3 0
2 years ago
Tamera has $500 she is looking to save for a class trip she wants to earn the most possible interest and will not need access to
Irina18 [472]
Money Market Account has higher interest rate than Savings Account and Savings Account pays similar interest as Certification of Deposit (CD). Checking Account has even smaller interest rate.
Answer: B ) Money Market Account. 

5 0
3 years ago
The set of instructions that allows a particular program to complete a task.
Savatey [412]
Interpreter is doing task to complete the task
8 0
3 years ago
Other questions:
  • Why is it important to use standard english when applying for a job
    13·2 answers
  • What do you adjust to allow more or less vertical space between lines of a paragraph?
    14·1 answer
  • Which company has experienced censorship in China?
    13·2 answers
  • A Trojan horse:
    6·1 answer
  • How do you respond to an email?
    6·1 answer
  • When was the very first computer made??
    5·1 answer
  • Program C++ I need help!
    13·1 answer
  • A computer projecter is an example of a(n):<br> Input Device<br> Output Device<br> Storage Device
    12·2 answers
  • What does error code 18 indicate?
    11·1 answer
  • Element of python which is valid syntax patterns
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!