The while statement is used for repeated execution as long as the expression is true. It repeatedly tests the expression and executes statements within the code block until the condition fails to ...