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

Squash and water is mixed in the ratio 1:3 if 2 litres of drink is made, how much water is used?
Find an equation of the circle with the following characteristics and sketch its graph a center (0, 5), contains (0, 0)
When three times a number is decreased by two, the result is 34. What is the number?​
Help with this ASAP please !!
The soldier's dream by Thomas cambell summary?​
You are a new assistant in a medical practice, and a patient arrives looking pale, and can not find their medical insurance information. As a professional, what
50 points help 1. What is the difference between core and extended families? 2. How does each family members in core and extended families deal with each other?
quang hợp là gì .....
What solution would 2x-4=2x-7 be
please answer all 5 questions!!! first get brainliest