title: Write a C++ program to print a number from 1 to a user entered number. Only accept numbers from 1 to 100
body: <p>I'm currently in a C++ class and I'm not sure what to do in this particular assignment. The book isn't very helpful and I feel like I need assistance. 
  Here is the assignment: </p>
  
  <p>Write a C++ program to print a number from 1 to a user entered number.  Only accept numbers from 1 to 100;
  Example:
  Enter the number:  15
  1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15.</p>
  
  <p>At first, I thought, maybe it was a guessing game, but it asks to PRINT all the numbers from 1-100. I know I need to use a for loop. 
  Here is what I have so far:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;cstdlib&gt;
  #include &lt;ctime&gt;
  {
  
   int num = 15; 
  for (int i = 0; i &lt; 100; i++)
  
  }
  system ("Pause")
  </code></pre>