Refine my code/program where did I go wrong?
<pre><code>#include &lt;iostream&gt;
#include &lt;fstream&gt;
#include &lt;string&gt;

using namespace std;

int main()
{
    int LordIronhead = 0; 
    char answer;

    cout&lt;&lt;"Is Lord Ironhead present? Y/N.\n";
    cin &gt;&gt; answer;

    if (answer == 'Y')
    {
        LordIronhead=0;
    }
    else if (answer == 'N')
    {
        LordIronhead= LordIronhead+1;
    }

    cout&lt;&lt; ""&lt;&lt;LordIronhead&lt;&lt;"\n"; 

    system("PAUSE");
    return 0;
}
</code></pre>

<p>Every time I run the program and If I answer NO (N) 
the result is always 0 instead of 1 (LordIronhead = LordIronhead + 1)</p>

<p>May I know where my error is? </p>
