What is looping control flow allowing us to do?
Looping control flow allows us to go backward in our code and repeat a sequence of statements repetitively using the current program environment until a desired boolean expression evaluates to either true or false depending on how the expression is constructed.
Describe what “loops” do in your own words.
Loops allow us to set a binding to a particular state and then allow us to test the state of the current binding by using expressions. Then by altering the current state of the binding we can then test the binding again to check its new state. we have the possibility of running these loops to infinity or breaking out after binding evaluates to desired value.
What is the difference between while and do-loops?
The difference between a do and a while loop is the body of the do loop is executed at leat once. also the conditional test of the do loop appears at the end of the loop body where the while loop condition is tested before the loop body.
What is indentation?
Indentation is the clever use of white space to clearly group blocks of code which are related to each other into defined start points in our source code. it allows us to make our code easier to read because when we have nested blocks indented it is easier to see where blocks begin and end.