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

Help me please!! A. Comedians B. Related C. Aristocracy D. Serious
A circle has a radius of 20 inches. Find the length of the arc intercepted by a central angle of 45°. Leave answers in terms of π.
How do I solve questions 1,2 and 6?
Adele is buying a sport utility vehicle. She is trying to choose among a variety of options. Brand: Brand A or Brand B Transmission: 4-speed standard, 5-speed s
slope intercept form of equation of a line that passes through (-3,8) y=-2/3x+6 what is the point slope equation for this line???
If the figure below is rotated 90degrees clockwise about the origin, what is the new location? the options are:A’ (0, 8), B’ (6, 0), C’ (0, -8), D’ (0, -6)A’ (-
The ____ operator is written as the exclamation point ( ! ). a. NOT b. assignment c. equality d. AND
An oxygen atom has a mass of 2.66*10^-23 and a glass of water has a mass of 0.050 kg. What is the mass of 1 mole of oxygen atoms? Round your answer to 3 signi
i just need #4 please
What is the charge of the nucleus in an atom of oxygen-17