70.0k views
5 votes
Match the line of programming syntax with the lettered statement describing the action of the syntax. A Assigns an initial value to the running total. B Displays the sum of the energies (i.e. the total energy). C Adds the value of energy to the running total. D Loops through the energies and assigns each item to energy successively.

User Artina
by
6.9k points

1 Answer

3 votes

Answer:

B E = E + ENERGY

A PRINT E

C E = 0

D FOR ENERGY IN ENERGIES

Step-by-step explanation:

Match the line of programming syntax with the lettered statement describing the action of the syntax. A Assigns an initial value to the running total. B Displays the sum of the energies (i.e. the total energy). C Adds the value of energy to the running total. D Loops through the energies and assigns each item to energy successively

B E = E + ENERGY

A PRINT E

C E = 0

D FOR ENERGY IN ENERGIES

User Michael Heilemann
by
6.9k points