
Available under Creative Commons-ShareAlike 4.0 International License.
Like the for loop, a while loop executes blocks of code over and over again however it runs as long as the test condition remains true. The syntax of a while loop is
while test_condition code ... code end
- 瀏覽次數:1356