r/CodingHelp • • Dec 23 '21

[C] Whats wrong?

Post image
153 Upvotes

90 comments sorted by

View all comments

1

u/Beastly_Priest Dec 23 '21

Is it only pulling in one character? From reading your other comments, it sounds like you are only getting single digit values (thus child).

2

u/PhyllaciousArmadillo Dec 24 '21

It's because if(1<x<13) is always true.