I need to write a program that displays e^x for a non-negative integer (x). The number x will from user input. It is sufficient to use 10 as a max number for n. The function factorial should have one integer parameter (n) and return one integer (n!). The function factorial should not have any output statements. The main function should call the function factorial and should do all the priniting.