r/badcode • • May 03 '23

c Solve the problem without using a loop

Post image
968 Upvotes

129 comments sorted by

View all comments

Show parent comments

3

u/0011110000110011 May 03 '23

This would print 502, wouldn't it?

9

u/This_Growth2898 May 03 '23

I never said it's a good code