y=a-b/(3+c)*(2-1) a=9,b=12,c=3
Answers
Answered by
0
Explanation:
You basically need to understand the precedence and associativity of the operators.
is 49-(12/(3+3)*2)-1
=9-(12/6*2)-1 -> inner brackets
=9-(2*2)-1 ->/ and * have the same precedence but the associativity is left to Right. So perform the / first.
=9-4-1
=4
Value of z is 4
Similar questions