C++ Tutorial 7 - while loop and Armstrong numbers
A detailed description can be found at: http://www.digitalmachine.in/c-programming-tutorial-7/ or http://www.digitalmachine.in A short descriptin of this video: A while statement repeatedly executes a target statement as long as a condition istrue. Its syntactic form is while (condition) statement; In a while, statement (which is often a block) is executed as long as condition evaluates as true. condition may not be empty. If the first evaluation of condition yields false, statement is not executed. The condition can be an expression or an initialized variable declaration . Ordinarily, the condition itself or the loop body must do something to change the value of the expression. Otherwise, the loop might never terminate. Note: Variables defined in a while condition or while body are created and destroyed on each iteration.