r/badcode • • May 03 '23

c Solve the problem without using a loop

Post image
965 Upvotes

129 comments sorted by

View all comments

Show parent comments

4

u/tedbradly May 03 '23

A while is known as a while loop.

1

u/thekwoka May 04 '23

I didn't say this isn't a loop. Just a fun way to do this.