/*
 * @topic T00028 Feb 14, 2013 -- arithmetic if operator
 * @brief Using arithmetic if operator to decide how to initialize the variable
*/

#include <iostream>

int main()
{
    // arithmetic if -or- conditional operator
    int value = 1;
    int dummy = ( value > 0 ) ? ( value * 100 ) : ( -1 );
    //          condition       if true           if false

    std::cout << dummy << "\n";
    return 0;
}