While Loops Part 1.
What does a while loop do?
A while loop repeatedly executes a target statement as long as a given condition is TRUE.
In this context, a statement is a unit of code that performs a pre-determined task.
Syntax:
while (condition)
{
statement(s)...
iano10x.hashnode.dev1 min read