1. Repeat the cycle of a certain number of times, called would cycle, such as for loop
2. Repeat until the conditions are not satisfied to the end of the cycle, cycle called conditions,
The while loop
The while loop is a condition to control whether to continue to perform in the loop body statements,
The following syntax
CodePudding user response:
Much good learnedCodePudding user response: