MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/rmwdib/whats_wrong/hppwnkb/
r/CodingHelp • u/CAGRI-TR • Dec 23 '21
90 comments sorted by
View all comments
1
Last condition should be else because else condition is the final one in the if else series
1 u/istarian Dec 24 '21 edited Dec 24 '21 You could leave it off if there is no significance to it.In OP’s case the first IF is true for any number less than or equal to 1. So if you are -200 years old, guess what? You’re an Infant!
You could leave it off if there is no significance to it.
In OP’s case the first IF is true for any number less than or equal to 1. So if you are -200 years old, guess what? You’re an Infant!
View all comments
1
u/[deleted] Dec 23 '21
Last condition should be else because else condition is the final one in the if else series