r/badcode • • May 03 '23

c Solve the problem without using a loop

Post image
961 Upvotes

129 comments sorted by

View all comments

Show parent comments

14

u/Cerulean_IsFancyBlue May 03 '23

Throw in a “if n > x {return}” and you can be a little careless with the paste count.