Computer Science, asked by noname1218, 2 months ago

write a program in java if x=5; find the value of x+ = x+ ( x++ * x ++ )

Answers

Answered by nisha263248
1

Answer:

x+=5+(5*6)

x+=5+30

x+=35

x=35+5

output =40

Explanation:

x++ is post increment i.e., it first uses the allotted value and then sends the changed value ahead

Similar questions