title: How to display the country capital even if the input is case insensitive c+
body: <p>I've working on this code for quite a while and I can't find how to make this case insensitive</p>
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  #include &lt;sstream&gt;
  using namespace std;
  
  int findCountry(string arr[], int len, string seek)
  {
      for (int i = 0; i &lt; len; ++i)
      {
          if (arr[i] == seek) return i;
      }
      return -1;
  }
  
  int main(){
      string countries[5]={&quot;Brunei&quot;, &quot;Cambodia&quot;, &quot;East Timor&quot;, &quot;Indonesia&quot;, &quot;Laos&quot;};
      string capitals[5]={&quot;Bandar Seri Begawan&quot;, &quot;Phnom Penh&quot;, &quot;Dili&quot;, &quot;Jakarta&quot;, &quot;Vientiane&quot;};
          
      string country;
      
      cout &lt;&lt; &quot;Country: &quot;;
      cin &gt;&gt; country;
      
      int index = findCountry(countries,5,country);
       if (index &gt;= 0)
          cout &lt;&lt; &quot;Capital: &quot; &lt;&lt; capitals[index];
      else
          cout &lt;&lt; country &lt;&lt; &quot; is not a South East Asian Country&quot;;
      
      return 0;
  }
  </code></pre>
  <p>OUTPUT</p>
  <pre><code>Country: bRunEi
  bRunEi is not a South East Asian Country
  </code></pre>
  <p>Expected OUTPUT</p>
  <pre><code>Country: bRunEi
  Capital: Bandar Seri Begawan
  </code></pre>
  <p>I was instructed to use cstring header but this is the only thing I can guess, any help will be appreciated
  ps: sorry for bad english</p>