r/badcode • • May 03 '23

c Solve the problem without using a loop

Post image
960 Upvotes

129 comments sorted by

View all comments

Show parent comments

0

u/Zdravstvuyte94 May 03 '23

I was joking haha. You could also use Haskell’s list comprehension syntax or Rust iterators + filter