title: question about this if/else code using || and &&
body: <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  using namespace std;
  
  int main()
  {
      string vegetarian, vegan, gluten_free;
      cout &lt;&lt; &quot;Welcome to Restaurant Selector!&quot; &lt;&lt; endl;
      cout &lt;&lt; &quot;Are you a vegetarian?&quot;&lt;&lt;endl;
      cin &gt;&gt; vegetarian;
      cout &lt;&lt; &quot;Are you a vegan?&quot;&lt;&lt;endl;
      cin &gt;&gt; vegan;
      cout &lt;&lt; &quot;Are you gluten-free?&quot;&lt;&lt;endl;
      cin &gt;&gt; gluten_free;
  
      if (gluten_free == &quot;yes&quot; &amp;&amp; vegan == &quot;yes&quot; &amp;&amp; vegetarian == &quot;yes&quot; )
      {
              cout&lt;&lt;&quot;The Chef's Kitchen&quot;&lt;&lt;endl;
      }
      else if (gluten_free == &quot;yes&quot; &amp;&amp; vegan == &quot;yes&quot; )
      {
              cout&lt;&lt;&quot;Vegan's lair&quot;&lt;&lt;endl;
      }
      else if (gluten_free == &quot;yes&quot;)
      {
              cout&lt;&lt;&quot;Starbuck's&quot;&lt;&lt;endl;
      }
      else if ( gluten_free == &quot;no&quot; || &quot;No&quot; &amp;&amp; vegan == &quot;no&quot; || &quot;No&quot; &amp;&amp; vegetarian == &quot;no&quot;||&quot;No&quot;)
          cout&lt;&lt;&quot;Burger King&quot;&lt;&lt;endl;
  
  
      return 0;
  }
  </code></pre>
  <p>How can I get the first if expression to use multiple variations of yes.
  I want it to include: yes, Yes, and YES. however I can only use the or operator on two strings. I would also like to do this for the subsequent lines. What should I do?</p>