Solve the Equation: 1 + 2 + 3 * 4 - 5
The answer is 10.
To solve this expression, we follow the order of operations (also known as PEMDAS):
- Parentheses (none in this case)
- Exponents (none in this case)
- Multiplication and Division (perform operations from left to right)
- Addition and Subtraction (perform operations from left to right)
So, first we perform the multiplication operation:
1 + 2 + (3 * 4) - 5
1 + 2 + 12 - 5
Then, we perform the addition and subtraction operations:
15 - 5
= 10
原文地址: https://www.cveoy.top/t/topic/ne69 著作权归作者所有。请勿转载和采集!