While loop always being executed once but works correctly on the second time. Help? [c++]
<p>I am having a problem with a while loop in c++. The while loop is always being executed the first time around but when the program reaches the cin of the while loop the while loop works perfectly I was wondering what I was doing wrong. Thanks in advance. Also I am sorry if the problem is noobish. I am still a beginner.</p>

<pre><code>cout&lt;&lt;"Would you like some ketchup? y/n"&lt;&lt;endl&lt;&lt;endl&lt;&lt;endl; //Ketchup
selection screen
cin&gt;&gt;optketchup;



while (optketchup != "yes" &amp;&amp; optketchup != "no" &amp;&amp; optketchup != "YES" &amp;&amp; optketchup != "Yes"  &amp;&amp; optketchup != "YEs"  &amp;&amp; optketchup != "yEs"  &amp;&amp; optketchup != "YeS"
     &amp;&amp; optketchup != "yeS" &amp;&amp;  optketchup != "YeS"  &amp;&amp; optketchup != "yES" &amp;&amp; optketchup != "y"  &amp;&amp; optketchup != "Y"  &amp;&amp; optketchup != "No"  &amp;&amp; optketchup != "nO"
      &amp;&amp; optketchup != "NO"  &amp;&amp; optketchup != "n"  &amp;&amp; optketchup != "No");
{

    cout&lt;&lt;"You have entered an entered "&lt;&lt;optketchup&lt;&lt;" which is an invalid
 option. Please try again."&lt;&lt;endl;
    cin&gt;&gt;optketchup;

}


if (optketchup == "yes" || optketchup == "YES" || optketchup == "Yes"  || optketchup == "YEs"  || optketchup == "yEs"  || optketchup == "YeS"
     || optketchup == "yeS" ||  optketchup == "YeS"  || optketchup == "yES" || optketchup == "y"  || optketchup == "Y")
{
    slcketchup == "with";
}
else
{
    slcketchup == "without";
}

cout&lt;&lt;"Your sandwich shall be "&lt;&lt;slcketchup&lt;&lt;" ketchup."&lt;&lt;endl;



system ("pause");
</code></pre>

<p>Again thanks in advance.</p>
