MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/rmwdib/whats_wrong/hpoyql1/?context=3
r/CodingHelp • u/CAGRI-TR • Dec 23 '21
90 comments sorted by
View all comments
75
Change following lines
Line #12 - (1 < x && x < 13)
Line #16 - (13 <= x && x < 20)
Keep only `else` on line #20
Edit: also add statement `return 0;` before line #24
-30 u/CAGRI-TR Dec 23 '21 Nope every number is still child 11 u/SkirtLumpy4479 Dec 23 '21 Did u compile the changed code? Because this is the problem, I tried it with the changes he suggested and it works...
-30
Nope every number is still child
11 u/SkirtLumpy4479 Dec 23 '21 Did u compile the changed code? Because this is the problem, I tried it with the changes he suggested and it works...
11
Did u compile the changed code? Because this is the problem, I tried it with the changes he suggested and it works...
75
u/terroroferror Dec 23 '21 edited Dec 23 '21
Change following lines
Line #12 - (1 < x && x < 13)
Line #16 - (13 <= x && x < 20)
Keep only `else` on line #20
Edit: also add statement `return 0;` before line #24