The While Loop part 1
The While Loop
The while loop repeats through a block of code, as long as a specified condition is true.
Syntax:while (condition) {
code block
}
The condition can be any conditional statement that returns true or false.
The result of the condition statement is always:
Comments
Post a Comment