When to use what type of repetition in a program:
\nIntroduction
\nComputers excel at repeating sections of code over and over. They can very quickly do thousands of similar computations, one after the other. (On a computer with more than one processor, several computations may even be able to be done at the same time.) The main way to repeat a section of code in a program is with a “loop” construct. We sometimes speak of looping through a section of code when we are talking about repeating it over and over. <\/p>\n
The FOR Loop Link to the page: When to use what type of repetition in a program:
\n<\/em>The WHILE Loop
\nThe DO..WHILE Loop
\n<\/em>Properties of Loops <\/p>\n
\nhttp:\/
\nlink too a video:
\nhttps:\/TC1017 #Mastery<\/a>22<\/h1>\n<\/div>\n","protected":false},"excerpt":{"rendered":"
\nIntroduction
\nComputers excel at repeating sections of code over and over. They can very quickly do thousands of similar computations, one after the other. (On a computer with more than one proc… Continue reading