اتمنى المساعده ولكم مني الدعاء
Write a program that computes the value of ex when given x as an input ,using the formula :
e^x = 1+x/1!+x^2/2!+x^3/3!+ ....+x^n/n!+...i
• Of course you cannot compute an infinite sum , so just keep adding individual terms until the term is less than a given threshold value specified by the user .
• Do not forget to let the user know what the program computes and prompt for input .
