Write a 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.
Sample Run 1
Please key in x value : 8
Please key in n value : 5
Result: 1 + 2!/6 + 3!/5 + 4!/4 + 5!/3 =-33.8667