/*
 * @topic T00210 while loop
 * @brief decrement and display numbers
*/

#include <iostream>
int main( )
{
    int value = 5;

    while ( value > 0 ) {
        // body of the loop
        std::cout << "value is " << value << "\n";
        value = value - 1;
    }

    retun 0;
}
/* Program output:
value is 5
value is 4
value is 3
value is 2
value is 1 
*/