Computer Science, asked by padmarani06190, 15 hours ago

STATE THE OUTPUT OF THE FOLLOWING (JAVA)

int p= 26, q= 27, r= 29, s, t, u;

s = --p + q++ - r--;

t = ++r - p-- + --q;

u = s + t + p + q + r;

System.out.println(s);

System.out.println(t);

System.out.println(u);​

Answers

Answered by roysen1992
0

Answer:

23 30 135

Explanation:

s= 25 + 27 - 29 = 23

t = 30 - 26 + 26 = 30

u= 23 + 30 + 26 + 27 + 29 = 135

Similar questions