title: Character Count (I do not know what to do next)
body: <p>Okay so I got this activity to do and its called string concerto. I got the number 1 (reversing a string and turn vowels into an asterisk) but I cant answer number 2 its called character count.</p>
  
  <p>Its like this:</p>
  
  <pre><code>Sample Run:
  Enter string:   Mississippi
  3
  ssp
  
  Enter string:   Committee
  3
  mte
  
  Enter string:   mmmmrrnzzz
  4
  mmrz
  </code></pre>
  
  <p>I do not know what to do next with my program.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;
  #include &lt;string.h&gt;
  
  int main()
  {
      char str[100];
      int count;
      printf("Input a word: ");
      gets(str);
      printf("Count: ");
      scanf("%d", &amp;count);
      for (str ; str &lt;= count ; str++)
      {
          blank space(dunno what to do)
      }
      printf("%s",str[count]);
      getch();
  }
  </code></pre>
  
  <p>What should I do? Should I use a string command?(I really don't know those things because the prof didn't haven't discussed it really good and she discussed arrays more.) </p>
  
  <p>Im on 1st yr college so we use c language and a new member here in stackoverflow so if I have any violations in this question please tell me about it so I can improve in asking here too and not being a nuisance in this website.</p>