Respuesta :
Answer:
18
Explanation:
If you take the formula, and you substitute the values of the variables, it will be:
10 * 2 - 10 / 5
Then if you remember the order of math operations, it will be:
(10 * 2) - (10 / 5)
Which reduces to:
20 - 2 = 18
The value of the variable result is 18
The code is represented as follows:
Python code:
a = 10
b = 2
c = 5
result = a * b - a / c
Code explanation;
- The variable a is initialise to 10
- The variable b is initialise to 2
- Lastly, the variable c is initialise to 5
Then the arithmetic operation variable a multiplied by variable b minus variable a divided by variable c is stored in the variable "result".
Printing the variable "result" will give you 18.
Check the picture to see the result after running the code.
learn more on coding here: https://brainly.com/question/9238988?referrer=searchResults
