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

o que é classificador
Karissa rides her bicycle for 4 hours and is 22 miles from her house. After riding for 8 hours, she is 42 miles away What is Karissa's average rate during her t
Find the area of a circle whose radius is 3 1/2(three whole number one over two)
Help ASAP giving 25 points Just to read this handwriting please i really need it
To buy a car, Ahmed borrowed $15000 for 3 years at an annual simple interest rate of 9%. how much interest will he pay if he pays the entire loan off at the of
The product of seven and the number mtranslate into an algebraic expression please
Question 6 Luna mixes 2 cup of orange juice with a cup of cranberry juice. She gives cup of the juice to Mags. How much is left in Luna's glass?
pls answer this for me :)
Can someone please answer the attachment​
How did Hamilton feel about division of power between the U.S. government and the states?​