Elektrine lite

โ† Feed

@shana@mastodon.gamedev.place

Post #2114069

2026-05-06 16:32 UTC

@jupiter for (sum=0, k=0;;k++) sum+=pow(a*r,k) Now if you had left the starting index out of the notation, that would have been a stumper ๐Ÿ˜œ

Replies (1)

  • @shana Well the problem with this is, the series may or may not converge. But the program does not terminate. So the program cannot answer *either*, so it's not "just a for loop" ๐Ÿ˜Š

    Open ##2114070