title: How can I get this code to output changing mass values given increments from the user?
body: <p>The program outputs the mass, but only what the user inputs. The math that 
   should add the increment to the mass is not occurring. Could somebody help with 
   this?</p>
  
  <pre><code>#include &lt;conio.h&gt;
  #include &lt;stdio.h&gt;
  #include &lt;Windows.h&gt;
  #include &lt;time.h&gt;
  #include &lt;math.h&gt;
  #define _CRT_SECURE_NO_WARNINGS
  int main()
  {
      float mass;
      float acceleration;
      float force;
      int calc1;
      int calc2;
      int calc3;
      float mass2;
      float increment;
      printf("Insert acelleration and mass below to calculate \nforce of a 
      given obect's movement.\n");
      printf("Mass (kg):\n");
      scanf("%f", &amp;mass);
      printf("Acceleration (m/s/s):\n");
      scanf("%f", &amp;acceleration);
      printf("Input Mass increment:\n");
      scanf("%i", &amp;increment);
      calc2 = 1;
      mass2 = mass + increment;
      force = mass * acceleration;
      do
      {
          printf("%f(Kg)\t%f(M/s^2)\t%f(Newtons)\n", mass2, acceleration, 
          force);
          calc2++;
      } while (calc2 &lt;= calc1);
      getch();
      return 0;
  }
  </code></pre>