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
Calculate the weighted grade for each student that appears in the data file. You may calculate the grade based on total earned p
lutik1710 [3]

Answer:

I don't know the answer, sorry

6 0
3 years ago
What is Microsoft Word an application used for word-processing, an example of?
LuckyWell [14K]

Microsoft word is an example of a graphical word program

7 0
3 years ago
In step 4 of the CSMA/CA protocol, a station that successfully transmits a frame begins the CSMA/CA protocol for a second frame
DerKrebs [107]

Answer:

There could be a collision if a hidden node problem occurs.

Explanation:

CSMA/CA(carrier sense multiple access/ collision avoidance) is a multiple access method in wireless networking, that allows multiple node to transmit. Collision avoidance of this method is based on preventing signal loss or downtime as a result of collision of transmitting multi signals.

If a node at step 4(transmit frame) sends the first frame, the node still needs to send a RTS(request to send) and to receive a Clear to send (CTS) from the WAP, the is to mitigate the issue of hidden node problem as all frame are treated as unit, so other listening nodes, not detected would seek to connect and transmit as well.

5 0
3 years ago
2. Name the substance you think is in the cylinder that you cannot see and prevents the plunger from going all the way in even w
V125BC [204]

Plunger is a disc or cylinder that moves in the body of a syringe, a pump or the cylinder of a steam engine, an explosion engine.

<h3>The substance in the cylinder</h3>

The substance that you think is in the cylinder that you cannot see and that prevents the plunger from going all the way in, even when you push the plunger hard, it may be substance that is too viscous or dense, but it is not possible to determine substance.

With this information, we can conclude that the plunger is a disc or cylinder that moves in the body of a syringe, but the substance to be determined can be viscous or dense.

Learn more about plunger in brainly.com/question/4190018

5 0
3 years ago
Which two functions can be used with the math module?
GrogVix [38]

Answer: The math module presents two angle conversion functions: degrees() and radians() , to convert the angle from degrees to radians and vice versa. For example, the following statements convert the angle of 30 degrees to radians and back (Note: π radians is equivalent to 180 degrees).

Explanation: Hopefully this helps you. It is a full answer.

5 0
3 years ago
Other questions:
  • Small-business owner Marcos set up his Google Ads campaign by thinking of “obvious” keywords off of the top of his head. What's
    15·1 answer
  • Give the difference betewen recursion and interation in C. Sight what are the advantages and their disadvantages?
    7·1 answer
  • What are the three major functions of a game engine?
    15·1 answer
  • 110101111.11011 to decimal (base 10)
    6·1 answer
  • PLEASE HELP ASAP! WILL MARK BRAINLIEST IF THE ANSWER IS CORRECT! I NEED HELP WITH THE 3RD ONE!
    13·1 answer
  • Write a program that asks the user for two file names. The first file will be opened for input and the second file will be opene
    8·1 answer
  • are the network administrator for your company. You are installing a new printer in the network. When you check the print server
    10·1 answer
  • A(n) _____ is a firm that delivers a software application, or access to an application, by charging a usage or subscription fee.
    6·1 answer
  • The HTTP protocol operates at which layer?
    7·1 answer
  • 1.Know the BMI of the user. First, the user will input the height in meters and weight in kilograms. After inputting, the inputt
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!