I don't know how to do this question !!!

Euler number, e, is used as the base for pure logarithms. THe following formula is used to estimate its value.

e = 1+ 1 / 1! +1 / 2! +1 / 3! + 1 / 4! + ....... + 1 / (n-1)! + 1 /n!

Write a programme that estimates the value of e using a loop that will terminate when the value of two subsequent e subracted is less than 0.0000001. The two values is displayed and the value represented by n as well