title: Capitalizing the first letter of every word in a string and preforming a word count
body: <p>Beginner here learning C.
  I need to input a paragraph of text and then write two functions. </p>
  
  <p>the first function capitalizes every first letter of the text. (This Is An Example)</p>
  
  <p>the second function needs to count all the words in the paragraph.</p>
  
  <p>First step I am taking is inputing the paragraph, I started by just adding the first two sentences. How do I format this paragraph into this string without writing it all on one line? Any help is appreciated. Thanks</p>
  
  <pre><code>int main (void)
  {
  
  char prose[] = "She should have died hereafter;
                  There would have been a time for such a word.";
  
  printf("%s\n",prose);
  
  
  
  
  return 0;
  }
  </code></pre>
  
  <p>This is the while loop I am trying to use to detect where the non alphabetic symbols are. </p>
  
  <pre><code>while (prose[i])
  {
      if (isalpha(prose[i]))
          printf("%c is alpha\n",prose[i]);
               else
  
                   printf("%c is not alpha\n",prose[i]);
                  i++;
  
          }
  </code></pre>
  
  <p>Any help on where to move from here? </p>