ronyaewicks ronyaewicks
  • 14-09-2021
  • Computers and Technology
contestada

APPLY
1. Looking at the following loop, what does the "i < 6" mean?
for (i = 0; i < 6; i++){
forward();
}
1. Looking at the same loop above, what does the "i++" mean?

Respuesta :

tonb
tonb tonb
  • 14-09-2021

Answer:

i<6 is the "end guard". This means that the loop continues while this is true, and ends when this is false.

i++ is the "continuation", it is the operation executed when the loop continues. i++ increases the value of i by one.

Answer Link

Otras preguntas

Which characteristics and experience did Truman bring to the presidency? A.Truman was not controversial. B.Truman had lots of enemies in Congress. C.Tru
order the Numbers from least to greateat. square root 11, -0.4 continuing, 3.41, - 9 over 20.
write these fractions in least common denominator2/5x+15y 1/2x+6y
what are the functions of ATP
Which expression finds the measure of an angle that is coterminal with a 126° angle? 126° + (275n)°, for any integer n 126° + (375n)°, for any integer n 126° +
how do you find rhe slope of (12,-18) and (-15,-18)
The price of a plane ticket has increased from $150 to $200. By what percent has the price increased? A) 15% B) 25% C) 33% D) 50%
Wendy is going on a road trip. She calculated that she will be traveling 950,400 feet total. Wendy discussed her travel plans with a friend, and her friend sa
Solve and SHOW YOUR WORK for the equation 4m + 2(m + 1) = 9m + 5 Solve and SHOW YOUR WORK for the equation 3(4x – 2) = 9 + 2x + 5
Which statement BEST describes why warm ocean currents are usually surface currents? A) Warm water is less dense than cold water. B) Ocean tides