title: how to make recursive function thats put uppercase letter at first and after this '.' char
body: <ol>
  <li>The string is a sentence and not just one word.</li>
  <li>must be recursive.</li>
  <li>here how I do it for one word. the first function change the first letter. the second function puts lower case in the rest.</li>
  </ol>
  
  <p>Here what I tried:</p>
  
  <pre><code>void changeWord(char *str){ 
      if (*str &gt;= 'a' &amp;&amp; *str &lt;= 'z')
          *str  = *str - 32;   //stop condition.
      changeRest(str+1);
  }
  
  
  void changeRest(char *str){
      if (*str !=0){   //STOP CONDITION.
          if (*str &gt;= 'A' &amp;&amp; *str &lt;= 'Z'){  //if its upper.
              *str  = *str +32; //change it to lower
          }
          changeRest(str+1); //call the new string -1.
      }
      return;
  }
  </code></pre>