/*
 * @topic Q00202 Feb 7, 2013 -- if-else ladder
 * @brief in-class demo 2 -- if-else ladder
*/

#include <iostream>

int main()
{
    std::cout << "What number do you want> ";
    int input;
    std::cin >> input;

    //if ( input == 0 ) return 0;

    if ( input == 5 )
    {
        std::cout << input << " is five\n";
    }
    else
        if ( input == 0 )
        {
            std::cout << input << " is zero\n";
        }
        else

            if ( input > 0 )
            {
                std::cout << input << " is positive\n";
            }
            else
            {
                std::cout << input << " is negative\n";
            }

    return 0;
}