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 property of r*1=r
when you focus on the behavior observed and avoid passing judgment on the person doing the behavior, what component of effective feedback do you demonstrate? ob
What percent of 75.5 is 81.54
What happens when a joint swells up?
syntax refers to a. peer interaction and acceptance. c. the grammatical order of words. b. a sexually transmitted disease. d. freud s psychosexual stages.
in what year did julius caesar start a civil war in rome?
Find the quotient 0.3 divided by 0.129
the height of a mountain peak above sea level is called?
describe how enzymes break down food.
A density curve for all the possible weights between 0 pounds and 10 pounds is in the shape of a rectangle. What is the value of the density curve in this inter