0

I need explanations on for loop, while loop nesting. Explanations from the scratch

3rd Feb 2022, 12:27 PM
𝑨𝒍𝒗𝒊𝒏
𝑨𝒍𝒗𝒊𝒏 - avatar
3 Antworten
+ 1
The for statement creates a loop that consists of three optional expressions, enclosed in parentheses and separated by semicolons, followed by a statement (usually a block statement) to be executed in the loop
3rd Feb 2022, 12:31 PM
Jasy Fabiano
Jasy Fabiano - avatar
+ 1
The while statement creates a loop that executes a specified statement as long as the test condition evaluates to true. The condition is evaluated before executing the statement.
3rd Feb 2022, 12:36 PM
Jasy Fabiano
Jasy Fabiano - avatar