int x= 20, y= 25, z= 40;
Write output along with value x, y and z of following
1. x++ * ++ y - z++
2. --x + ++z + ++y
3. ++z * z++ + ++z
4. y++ - ++y * 8
5. x++ * 5 + --z + ++x
6. 65 + ++z - --y + y++
7. x * ++z - 10
8. ++y * - -- z / ++x
9. ( ++x + --y) + ( --x + ++z) +( --z * ++y)
10. 2* (++y + --x) / ( --z + ++x) +( --x * ++y)
Answers
Answered by
2
Answer:
1)20*25-40=460
2)-20+40+25
3)20*20+20=420
4)40-40*8=0
5)20*5-40+20=80
6)65+40-(-40)+40=185
7)20*40-10=590
8)25*-(-40/25)=40
9)[20+(-25)]+(-20+25)+(-40*25)=-5+5-100=-100
10)2(25-20)/(-40+20)+(-20*25)=10/-20-50=-1/2-50=-101/2
Explanation:
hope it helps
Similar questions