title: How to use Character.toUpperCase?
body: <pre><code>    for(int i=0;i&lt;chInp.length();i++)
      {
          if(chInp.charAt(i)=='a' || chInp.charAt(i)=='e' || chInp.charAt(i)=='i' || chInp.charAt(i)=='o'|| chInp.charAt(i)=='u')
          {
              Character.toUpperCase(chInp.charAt(i));
          }
      }
  </code></pre>
  
  <p>This program searches through a String, identifies any vowels and puts them in uppercase. I tested and it is able to successfully identify the vowels, however it is not putting them in uppercase.</p>