I made this program to divide by N for each iteration of the while loop, and in doing so it would take the sum of every iteration and print it to the line, the only problem is that the answer I receive is this.
Sum is: Infinity
If anyone knows why I'd love to know. Also, if anyone has any input on how to do this better too, I would love to know.
Thanks.