ageっと。
邪悪なコードじゃないけど、漏れがプログラミングをやるようになって
最初の頃に書いたeを求めるコード。

#include <stdio.h>
int main()
{
 /* 変数の確保 */
 int input , counter;
 long n , temp = 1;
 double e = 0;
 printf(" e 精度:");
 scanf("%d" , &input);
 for(counter = 1 ; counter != (input + 1) ; counter++){
  for(n = 1 ; temp != counter ; temp++){ /* N!を求める n回目のループでN! */
   n *= temp;
  }
  /* 1/n == 1/N!
  e == 1 + 1/1! + 1/2! + 1/3! + … */
  e += (double) 1 / n;
  /* n!を求めるための変数の再初期化 */
  temp = 1;
 }
 printf("%.16f" , e);
 return 0;
}