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 question can most help a writer revise an argumentative essay?
Jobisdone [24]
Do details provide support for the claim
7 0
3 years ago
Read 2 more answers
How do you organize texts and numerical data? ​
777dan777 [17]

Numerical data represent values that can be measured and put into a logical order. Examples of numerical data are height, weight, age, number of movies watched, IQ, etc.

3 0
2 years ago
Raymond has to send a number of large documents to his charterer accountant for filing his taxes. Which email etiquette should R
CaHeK987 [17]

Raymond should compress the files, and then at the very least ask what would be the appropriate time to email the attachment. It is important to practice good etiquette when using email. If you are sending an email that has attachments, always make sure to mention it in the body of the email. Raymond should also ZIP or compress his large attachments before sending them. This will make them easier to send.

4 0
3 years ago
Read 2 more answers
3. Find the best.
Tamiku [17]

Answer:

1. is the answer

Explanation:

<h2>mark me as brainlest</h2>

6 0
2 years ago
In database software, which option is the most appropriate menu choice or command to use if you want to change the format of the
sleet_krkn [62]

Answer:

I think it's d

Explanation:

             

4 0
2 years ago
Other questions:
  • A(n)________________ is something that goes into a system a resource such as time,money,communication,etc
    10·1 answer
  • There is a flashing yellow light at the intersection you are approaching. What does the flashing yellow light indicate, and what
    8·1 answer
  • A patient presents at an outpatient urgent care facility with an acute illness and is seen by a provider. A detailed history wit
    13·1 answer
  • After you enter the details for the first selected recipient in the New Address List dialog box, click _______ to add another re
    9·1 answer
  • What can be defined as in information technology environment?
    14·2 answers
  • 10 points!
    12·1 answer
  • Write a program that creates an integer array with 40 elements in it. Use a for loop to assign values to each element of the arr
    5·1 answer
  • A database that is created and maintained using services such as Microsoft Azure or Amazon AWS is called a(n) _____ database.
    7·1 answer
  • can you guys plz answeer this i need help rrly bad and plz no viruses or links or answers that have nun to do with this
    5·1 answer
  • 4. The volume of a sphere is (4.0/3.0)rr3 and the surface area is 4.0rr2, where r is the radius of
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!