MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/rmwdib/whats_wrong/hpwu4ee/?context=3
r/CodingHelp • u/CAGRI-TR • Dec 23 '21
90 comments sorted by
View all comments
Show parent comments
1
But if there's multiple conditions we kinda need to use the else if🤔
-1 u/[deleted] Dec 23 '21 You can have multiple ifs statements instead of else if 2 u/PhyllaciousArmadillo Dec 23 '21 Then it evaluates all of them instead of just the one that's true... 1 u/[deleted] Dec 25 '21 True, I guess in this case a switch case would work the best
-1
You can have multiple ifs statements instead of else if
2 u/PhyllaciousArmadillo Dec 23 '21 Then it evaluates all of them instead of just the one that's true... 1 u/[deleted] Dec 25 '21 True, I guess in this case a switch case would work the best
2
Then it evaluates all of them instead of just the one that's true...
1 u/[deleted] Dec 25 '21 True, I guess in this case a switch case would work the best
True, I guess in this case a switch case would work the best
1
u/IntroductionBright72 Dec 23 '21
But if there's multiple conditions we kinda need to use the else if🤔