Write a program that, for a given two integer numbers N and X, calculates the sum S = 1 plus 1!/X plus 2!/X^2 plus…plus N!/X^N