Computer Science, asked by Shanu2107, 1 month ago

If addition had higher precedence than multiplication, then the value of the expression (1 + 2 * 3 + 4 * 5) would be which of the following?

Answers

Answered by brainlysme2
0

If addition had higher precedence than multiplication, then we evaluate the expression (1 + 2 * 3 + 4 * 5) as follows:

(1 + 2 * 3 + 4 * 5)

As brackets have higher precedence, and first we evaluate the numbers inside in the brackets.

= (1 + 2) * (3 + 4) * 5

= 3 * 7 * 5

= 105

Therefore, the value of the expression is 105.

Similar questions