title: append an integer variable to char variable in C++
body: <p>I'm new in C++, I have a small project,
  I should get 10 numbers from user and then show in result.</p>
  
  <p>so I wrote this code :</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int main() {
      int counter=1,
          allNumbers;
      float score;
      while(counter &lt;= 10) {
          scanf("%f",&amp;score);
          counter++;
      }
  
      printf("Your entered numbers are : %s\n",allNumber);
  }
  </code></pre>
  
  <p>for example user enter 2 3 80 50 ... and I want show 2,3,80,50,... in result.</p>
  
  <p>But I don't know what should I do !</p>