The for statement executes a statement or a block of statements while a specified Boolean expression evaluates to true. Output:
The for statement executes a statement or a block of statements while a specified Boolean expression evaluates to true. Output: