int main() {
float x, y, z;
for (x=0, y=1, z=y; x<y; y+=z);
printf("%f\n", x);
}

ohhh this has a bad bug. to fix it:

for (x=0, y=1, z=y; x<y; x=y, y+=z);

@mxsparks I still don't really know what the second post means, butt at least now x actually changes :P

Follow

@mxsparks so is the {sum} bit about adding all the numbers between 0 and infinity?
(I think I get the joke, anyway)

· · SubwayTooter · 0 · 0 · 1
Sign in to participate in the conversation
Be More Kind

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!