Home /
Expert Answers /
Computer Science /
write-a-program-that-reads-underline-n-and-underline-x-from-t-pa925

???????

Write a program that reads \( \underline{n} \) and \( \underline{x} \) from the screen, then calculate the following (only for the unsigned values of \( \underline{\mathbf{n}}) \) \[ a=\frac{n x}{1 !}+\frac{(n-1) x^{2}}{2 !}+\frac{(n-2) x^{3}}{3 !} \ldots+\frac{(n-(n-1)) x^{n}}{n !} \] The program should include three functions, - Function to find power. - Function to find factorial. - Function to calculate summation. Try to solve using two phases, in the first make the functions call each other. In the second make the functions called in the main function. Main function will include only reading input values. Try to use static type of variables and call by reference if needed. Exercise 2 Write a program that reads \( \underline{n} \) values \( \underline{v} \) from the screen, then calculate the following equation only for unsigned values

#include