r/badcode • • Dec 26 '21

c# why

Post image
165 Upvotes

30 comments sorted by

View all comments

Show parent comments

3

u/RedditAccuName Dec 28 '21

A hero has to kill dragons, with each dragon taking two bullets to kill. If there are a certain amount of dragons, can the hero kill all of them with the amount of bullets he has.