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

Write each ratio as a fraction in simplest form. 5. 48 : 76 6. 20 inches to 4 feet
What is the y-intercept of this graph? A graph of a line that begins at the origin and passes through the point 2 comma 8.
Why do cultures change? ​
Kerry and three friends went out for dinner. They split a large pizza and each person had a salad and a soda. They want to leave a 15% tip on the cost of the fo
how to slove for compound inequalities
What is the answer to this?
Given that f(x) = 3x -9, g (x) = x to the power of 2 + 5x +1, and h(x) = -2x to the 2nd power - 4x +3, find (f+g) (x).
What does the author do to create fear in his audience in the legend of sleepy hollow? List atleast two examples
what is the significance of antigone final act? what does this act suggest about the connections between family and fate?
ASAP. The dogs purpose 10-12 chapters summary story