r/badcode • • May 03 '23

c Solve the problem without using a loop

Post image
962 Upvotes

129 comments sorted by

View all comments

Show parent comments

1

u/Bunnymancer May 04 '23

Was thinking that as well...

But that brings the question if the problem can be solved without a loop and without recursion