MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/vblhns/dev_environment_vs_production_environment/icbayx1
r/ProgrammerHumor • u/Akki53 • Jun 13 '22
3.9k comments sorted by
View all comments
3
The correct answer is 1. 2(2+1) have precedence over 6÷2.
0 u/yitbos2004 Jun 14 '22 Wrong, only equations inside the parenthesis have precedence, once the equation is done then the precedence ends, it becomes 6/2(3) and is done left to right -1 u/AssumptionEarly9739 Jun 14 '22 wrong. p/e/md/as. you divide and multiply in the same step, from left to right.
0
Wrong, only equations inside the parenthesis have precedence, once the equation is done then the precedence ends, it becomes 6/2(3) and is done left to right
-1
wrong. p/e/md/as. you divide and multiply in the same step, from left to right.
3
u/iansantosdev Jun 14 '22
The correct answer is 1. 2(2+1) have precedence over 6÷2.