alexgallardoooo69571 alexgallardoooo69571
  • 02-04-2021
  • Computers and Technology
contestada

In this for loop, identify the loop control variable, the initialization statement, loop condition, the update statement, and the statement that updates the value of s

Respuesta :

codiepienagoya codiepienagoya
  • 07-04-2021

Answer:

Follows are the solution to these question:

Explanation:

Please find the complete question in the attached file.

For point a:

The "j" is the loop control variable that controls this loop  

For point b:

The initialized statement for the given loop is "j = 1"

For point c:

The loop condition for the given loop is "j<=10" which indicates that the value of j is less than equal to 10.

For point d:

The loop given statement that updates the value of the s is "s = s+j*(j-1)".

Ver imagen codiepienagoya
Answer Link

Otras preguntas

what is the difference between rough ER and smooth ER? what is the ER doing that is different in this case
sixteen action figures are arranged equally on 2 shelves. How many action figures are on each shelf?Model the problem with both an array and a labeled tape diag
What is 0.03703704 as a fraction
what is the supplementary angle to 69 degrees
What kind of precipitation would occur if the temperature was above freezing
the chemical reaction in which an element,such as iron, combines with oxygen to form an oxide is called
The sum of the speed of two trains is 722.7 miles per hour. If the speed of the first train is 3.3 mph faster than the second train find the speeds of each
What can be what is the answer to 49 divided by ? = ? But the answer cannot be 7
simplify using order of operations(PEMDAS):(2^3x6)-3^2
How long did the Zhou dynasty rule?