Write a simple program to prompt the user to key in x and n value to calculate the result for the following formula:
Result = 1+2!/((x-2))-3!/((x-3))+4!/((x-4) )- … n!/((x-n))
-------------------------------------------------------------------------------------------------------------
Note: x value must be greater than n value.
i need help for C++ programming class work
thanks a lot