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 a power represented with a positive base and a positive exponent whose value is less than the base.
Write the equation in slope-intercept form. y=12+(x-1)(-4)
Which of the following elements is not necessary to prevent value conflicts in the work place? A. Honest communication B. Consideration C. Tolerance D. Avoidan
What is the antonym for the word actuate
3x+4y=2 4x-4y=12 by using elimination
What is a sentence with the word Disheveled?
Window design. A triangular window on Ross camp's new scary boat has two sides that measure 87 centimeters 64 centimeter, respectively. The perimeter of the tri
Please help with the 4th one
What evidence is there that the present Day continents were once a single landmass?
A coat that originally sold for $369.00 is on sale at a 40% discount? How much will you pay for the coat?