title: Calculate sum of 1+(1/2!)+…+(1/n!) n number in C language
body: <p>Like the title say, how I calculate the sum of n number of the form: 1+(1/2!)+⋯(1/n!)? I already got the code for the harmonic series:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main( void )
  {
      int v=0,i,ch;
      double x=0.;
  
      printf("Introduce un número paracalcular la suma: ");
      while(scanf("%d",&amp;v)==0 || v&lt;=0)
      {
          printf("Favor de introducir numeros reales positivos: ");
          while((ch=getchar())!='\n')
              if(ch==EOF)
                  return 1;
      }
      for (i=v; i&gt;=1; i--)
          x+=1./i;
  
      printf("EL valor de la serie es %f\n", x);
      getch();
      return 0;
  }
  </code></pre>
  
  <p>The question here is.. I already got the sum as the fraction, but how make the variable "i" factorial?</p>
  
  <p>Note: I´m programming in language C, with DEV -C++ 4.9.9.2</p>