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

what are the social concern illusttrated in the poem richard cory
True or false? The empirical formula of a compound is the simplest formula that shows the numerical relationship of the elements in the compound.
where is the north sea located which region?
Find the measure of the missing angle Please help me, I’ll give you points
look at the diagram of the bicycle chain and the cogs above. Explain in detail why you exert a force on the pedals, but you still obey the law of conservation o
Task 3: Plz Write an Answer! Thank you!Writing an Analytical Essay That Takes Advantage of HindsightRemember that hindsight is the advantage one has by writing
i'd appreciate someones help !!! Solve for angles x, y, and z. In the answer choices, the first number is for angle x. The second number is for angle y. The thi
7.9 is what percent of 8? Round to the nearest tenth.
Patrick S. Gilmore is known as the father of the concert band in the United States. True O False
WILL GIVE BRAINLIEST Refer to Figure 33-2. A decrease in taxes would move the economy from Q to a) P in the short run and the long run b) R in the short run