/*
 * @topic T00220 for loop
 * @brief decrement and display numbers
*/

#include <iostream>

int main( )
{
    int x;

    for (
        x = 5;    // initialize
        x > 0;    // test condition
        x = x - 1 // decrement
        )
    {
        std::cout << " x== " << x;
    }
    return 0;
}
// Program Output:
// x==5 x==4 x==3 x==2 x==1