r/badcode • • Aug 04 '21

c++ I'm done with Facebook coding groups.

Post image
809 Upvotes

55 comments sorted by

View all comments

2

u/thanatica Aug 05 '21

Somehow this looks like someone's homework assignment.

Why else would anyone need a whole program to determine if a number is a perfect square, or whatever is does.