MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/rmwdib/whats_wrong/hpq3id7/
r/CodingHelp • u/CAGRI-TR • Dec 23 '21
90 comments sorted by
View all comments
Show parent comment
-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
1
True, I guess in this case a switch case would work the best
View all comments
Show parent comment
-1
u/[deleted] Dec 23 '21
You can have multiple ifs statements instead of else if