+ 1

# How do you solve two variables of 10+5-2

Sum1=50+10 sum2=sum1+6 Sum3=sum1+sum2

2 Answers

+ 4

you can use parenthisis to control the order of operation

+ 4

D_Stark is right, you can group an expression with parenthesis to guide the output.
The precedence in order of operations is evaluated from left to right based on PEMDAS ()^*/+-
parenthesis exponentiation multiplication division addition subtraction