title: Simple toupper coding in C
body: <p>I want to make a simple toupper coding on my Laptop (windows 7). It appears that anything i wrote it only capitalize 1 word in the beginning. </p>
  
  <p>Whether i use %s / %c / %[^\n]</p>
  
  <p>What am I suppoused to do?</p>
  
  <p>Im using Microsoft Visual C++ 2010 Express</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;ctype.h&gt;
  
  int main()
  {
      char kalimat;
      scanf ("%[^\n]",&amp;kalimat);
      kalimat=toupper(kalimat);
      printf("%s",kalimat);
      getchar ();
      return(0);
  }
  </code></pre>