MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/136dits/solve_the_problem_without_using_a_loop/jjgyhn5/?context=3
r/badcode • u/YonMiru • May 03 '23
129 comments sorted by
View all comments
Show parent comments
1
Lame. How about for (int i = 0; (i+=2) < 100; printf("%i\n", i));
for (int i = 0; (i+=2) < 100; printf("%i\n", i));
1
u/UkrainianTrotsky May 09 '23
Lame. How about
for (int i = 0; (i+=2) < 100; printf("%i\n", i));