Single Status Update
This code is supposed to calculate e to the power x. It works fine at lower numbers, but then at x = 3.6, the output starts to decrease as x goes up. What's wrong?
EDIT: The problem was that "factorial" function was an int, so at high values, it won't work.