I'm working on programming a function with a summation. My professor wants the summation to go up to 100,000 iterations, but currently I get an error message if I try to go above 250. I understand that 100,000 might be too many recursions for the compiler to handle, but I want to try to get at least more than only 250.
P.S. I know there are easier ways to perform a summation that would avoid this error, but my professor is very clear in his instructions that he wants it done in a while loop.