text: int fac (int n)
  {
    if (n == 0)
       return 1;
    else
       return (n * fac (n-1));
  }
  
  int main (void)
  {
    int i;
    int s = 0;
    int n;
  
    n = 5;
    for (i = 0;  i <= n; i++)
        s += fac (i);
  
    return (s);
  }
  
  