title: adding fractions using recursion e=1+1/1!+1/2!+1/3!+
body: <p>I need to write a recursive method to compute the following series:
    e = 1+1/1!+1/2!+1/3!+...</p>
  
  <p>This is what I have so far.</p>
  
  <pre><code>public static void main(String[] args)
  {  System.out.println("enter n :");
     int n =scan.nextInt();
     double h = fact(n);
     System.out.println(" e = ");
  }
  public double fact(int n)
   {
      if (n == 1)
          return 1;
      else
          return ???;
    }
  }
  </code></pre>