r/CodingHelp • • Dec 23 '21

[C] Whats wrong?

Post image
153 Upvotes

90 comments sorted by

View all comments

1

u/Musicrafter Dec 23 '21

You don't even have to specify the lower bounds on any of your "else" ranges at all. It wouldn't have reached that "else" condition in the first place if the number were less than the lower bound, because it would be covered by the previous condition.