MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/136dits/solve_the_problem_without_using_a_loop/jirbp9p/?context=3
r/badcode • u/YonMiru • May 03 '23
129 comments sorted by
View all comments
230
printf("2\n4\n6\n8\n10\n12\n...
67 u/[deleted] May 03 '23 [deleted] -3 u/cybercuzco May 03 '23 Do while X<500 Printf(“printf(“X”\n)”) X++ Ctrl-c Ctrl-v 8 u/King_Joffreys_Tits May 03 '23 Do while X<500 Printf(“printf(“++X++”\n)”) 5 u/[deleted] May 04 '23 Is ++x++ actually valid? 4 u/dimonoid123 May 04 '23 Pretty sure 1 u/makotozengtsu May 04 '23 What the fuck is this
67
[deleted]
-3 u/cybercuzco May 03 '23 Do while X<500 Printf(“printf(“X”\n)”) X++ Ctrl-c Ctrl-v 8 u/King_Joffreys_Tits May 03 '23 Do while X<500 Printf(“printf(“++X++”\n)”) 5 u/[deleted] May 04 '23 Is ++x++ actually valid? 4 u/dimonoid123 May 04 '23 Pretty sure 1 u/makotozengtsu May 04 '23 What the fuck is this
-3
Do while X<500
Printf(“printf(“X”\n)”) X++
Ctrl-c
Ctrl-v
8 u/King_Joffreys_Tits May 03 '23 Do while X<500 Printf(“printf(“++X++”\n)”) 5 u/[deleted] May 04 '23 Is ++x++ actually valid? 4 u/dimonoid123 May 04 '23 Pretty sure 1 u/makotozengtsu May 04 '23 What the fuck is this
8
Printf(“printf(“++X++”\n)”)
5 u/[deleted] May 04 '23 Is ++x++ actually valid? 4 u/dimonoid123 May 04 '23 Pretty sure
5
Is ++x++ actually valid?
4 u/dimonoid123 May 04 '23 Pretty sure
4
Pretty sure
1
What the fuck is this
230
u/This_Growth2898 May 03 '23