Computer Science, asked by shlok056, 1 year ago

X=10
Solve for x in java
x-=++x + x-- + x/5 + x++ *2
Please explain the solution

Answers

Answered by sakhareaakanksha
0

Answer:-34

Explanation:

x-=++x + x-- + x/5 + x++ *2

x= x-++x+ x-- + x/5 + x++ *2

x=10-11+11+10/5+10*2

//bedmas

=10-11+11+2+10*2

=10-11+11+2+20

=-34

Similar questions