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

A regular trial jury at the state level is called a:
what does e as a limit mean in algebra 2
use indicative in a sentence
2O POINTS Which of the following was discovered at Catal Huyuk and the purpose of the item discovered is still unknown? pottery. metal smithing. swords. cave dr
Feeding relationships in which organisms feed on a variety of organisms
What type of role did temples most likely play in everyday religious practice and community life?
What is 1/4 (5y-3)+1/16 (12y+17
X Y -2 5 -1 3 0 1 1 -1 2 -3 Find the explicit formula and the type of function
Mei bought a box of markers for b dollars, a shoulder bag that cost twice as much as the box of markers and a pen that cost $6 less than the shoulder bag. Write
whatt are some inportant rules to dividing and multipling positives and negitives.