asked 191k views
5 votes
Which operation should be performed first in the expression 5+7÷7×4−17?

2 Answers

4 votes
First division, then multiplication, addition and at last subtraction.

According to BODMAS (it varies in different countries) rule.
answered
User MathankumarK
by
7.9k points
4 votes

Multiplication and division have the same precedence, binding tighter than addition and subtraction. Among operators with the same precedence we go left to right.

So the first operation to do is division. ÷

PEDMAS notwithstanding if your expression depends on the details of the left to right rules, you're better off adding parenthesis to make things clearer.

answered
User David Nehme
by
8.2k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.