bukuroshe100 bukuroshe100
  • 15-10-2018
  • Computers and Technology
contestada

Why you should you indent the statements in the body of a loop?

Respuesta :

tonb
tonb tonb
  • 15-10-2018

Indenting is a visual way of representing blocks of code. In the case of a loop (but also applicable to conditional statements like if statements). It allows you to easily see to where the looped code extends. In most languages (python being a notable exception), the indenting is not important for correct compilation.

Answer Link

Otras preguntas

A bakery had 54 buns. Of the buns that the bakery had, 1/6 were sold in the morning and 1/2 were sold in the evening. A. How many buns were sold altogether? B.
What was President Roosevelt's set of policies commonly called? A. Big Compromise B. Scheme One C. Square Deal D. Trust Busters
Why is Henry Hudson important?
A wise man once said,"400 reduced by 4 times my age is 48." What is his age?
Please Help!!!! 1) A telephone pole is 60 feet tall. It casts a shadow that is 24 feet long. A tree that is next to the telephone pole is 15 feet tall. How long
A Transair plane is flying east at 275 km/h. A Worldair plane is flying west at 275 km/h. Are the two planes flying at the same velocity?
you are running a 1m/s and increase your velocity to 2.5m/s in 5s. what is your acceleration?
why do the lungs have a large number of blood vessels?
The expression 12(x + 4) represents the total cost of CDs Mei bought in April and May at $12 each. Which property is applied to write the equivalent expression
A little help please? Note: this may be Geography. [Question is in the picture]