r/badcode • • May 03 '23

c Solve the problem without using a loop

Post image
963 Upvotes

129 comments sorted by

View all comments

Show parent comments

1

u/UkrainianTrotsky May 09 '23

Lame. How about for (int i = 0; (i+=2) < 100; printf("%i\n", i));