For loops, while loops, and repeat loops all help us to repeat code several times. Which of these is improperly defined?
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
For loops, while loops, and repeat loops all help us to repeat code several times. Which of these is improperly defined?
statement is encountered, typically as a result of a condition, almost always used to force a loop to terminate within the code prematurely (namely the block doesn't finish) All of these are addressed appropriately
For loops, while loops, and repeat loops all help us to repeat code several times. Which of these is improperly defined? For loop - do a set of code a specific amount of times While loop - do a set of code until a condition is met before a complete pass of the looped code Repeat loop - do a set of code until a break