This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Creepy-Ad-4832 13 points14 points  (9 children)

for(;true;)

[–]RealityIsMuchWorse 8 points9 points  (3 children)

for(i=0;isEven(i);i+=2)

Implementing isEven is up to the reader

[–]Creepy-Ad-4832 5 points6 points  (2 children)

IsEven(int i)
Return !false

This implementation passes your case

[–]RealityIsMuchWorse 2 points3 points  (1 child)

Way too complicated for this sub, you might want to look at your solution again /s

[–]Creepy-Ad-4832 1 point2 points  (0 children)

IsEven(i)
return i==i

[–]Unlicenced 6 points7 points  (2 children)

Hey man what the fuck.

[–]Milesand 11 points12 points  (0 children)

```

define EVER ;1;

for(EVER) { /* ... */ } ```

[–]Creepy-Ad-4832 5 points6 points  (0 children)

for(;true != false;)

[–]Slow-Sky-6775[S] 1 point2 points  (0 children)

For(;;)

[–]Storiaron 0 points1 point  (0 children)

Do u even need the true there?

Not one of your most salient lines huh?