I did a infinite series program that would output all terms as it ran. How would I change it to output only every 100 terms? Also, if I wanted to output only the terms 5-100?
crap, I've spent 2 hours trying to figure this out and it was that simple. I got close though.. I knew i had to divide by 100 but didn't think about modulus. Thanks.
Why not try the for
Hope it helps,
Last edited on
I thought about doing a for loop earlier but the series uses a for and I didn't want another 1 inside it or anything.