Executes a statement repeatedly, until the value of condition becomes false. The test takes place before each iteration.
Syntax
attr(optional) while ( condition ) statement
attr(C++11) - any number of attributes condition - any expression which is contextually convertible to bool or a declaration of a single variable with a brace-or-equals initializer. This expression is evaluated before each iteration, and if it yields false, the loop is exited. If this is a declaration,