Computer Science, asked by kadamgirish321, 5 months ago

If x = 6, y = 4 and z = 2.3, evaluate ‘u’ and ‘v’ after executing

successively (i) and (ii) :

i) u = x + y /z;

ii) v = (x++) * z + x;​

Answers

Answered by meharakshitha4
3
22. intx = 0, y = 0 , z = 0 ; x = (++x + y-- ) * z++;. What will be the value of "x" after execution ? a. -2. b. -1. c. 0. d ... 3. byte x = 7;. 4. byte y = 6*x++;. 5. byte z = x*y;. 6. System.out.println ("z: " + z);. 7. } What is the output of this ...
Please please mark as the Brainly for the answer please mark
And don’t forget to thank me for the answer
Answered by khushiagarwal27611
2

Answer:

(i) u = 6+4/2.3

= 4.34

(ii) v= 6 * 2.3 + 6

= 49.8

Similar questions