title: C - scanf,printf name and age program
body: <pre><code>#include &lt;stdio.h&gt;
  
  int main ()
  {
     char yourname;
     int yourage;
  
      printf("Whats your name?\t");
      scanf("%c",&amp;yourname); 
      printf("How old are you?\t");
      scanf("%d",&amp;yourage);
      printf("You are %d years old and your name is %c\n\n\n",yourage,yourname);
      system("pause");
      return(0);
  }
  </code></pre>
  
  <p>I want this program to ask for the username and age, and then print them..</p>