Update README.md
Browse files
README.md
CHANGED
@@ -22,22 +22,13 @@ Output: To solve this equation, follow the order of operations (PEMDAS/BODMAS):
|
|
22 |
2. Exponents
|
23 |
3. Multiplication and Division (from left to right)
|
24 |
4. Addition and Subtraction (from left to right)
|
|
|
25 |
|
26 |
-
|
27 |
|
28 |
-
|
29 |
|
30 |
-
|
31 |
-
|
32 |
-
25 - 8 + 3
|
33 |
-
|
34 |
-
Now, do the subtraction from left to right:
|
35 |
-
|
36 |
-
17 + 3
|
37 |
-
|
38 |
-
Finally, add the remaining numbers:
|
39 |
-
|
40 |
-
20
|
41 |
|
42 |
So, the result is 20.
|
43 |
```
|
|
|
22 |
2. Exponents
|
23 |
3. Multiplication and Division (from left to right)
|
24 |
4. Addition and Subtraction (from left to right)
|
25 |
+
5. The given equation doesn't have any parentheses or exponents, so we can start with multiplication and division:
|
26 |
|
27 |
+
25 - 8 = 17
|
28 |
|
29 |
+
Now, perform the addition and subtraction from left to right:
|
30 |
|
31 |
+
17 + 3 = 20
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
So, the result is 20.
|
34 |
```
|