Respuesta :
Write a java program that computes the value of
+1.0/(1!) + 1.0/(2!) + 1.0/(3!) + ... + 1(n!)
Your program should prompt for and read from the keyboard the value of n. It must compute each term from the previous term. Also include the statement
System.out.println(" e = " + Math.E);
Use type double for your computations. Run your program for n = 1, 10, 20, 50 and 100.