Predict the output. Int x=5,y=20
Int z=y/5+x++-++y%7+x--+x
System. Out. Println(z);
System. Out. Println(x);
System. Out. Println(y);
Answers
Answered by
0
Answer:
z = 20/5 + 5 - 21%7 + 6 + 5
z = 4 +5 - 0 +6+5 = 20
Hence output will be :-
20
5
21
Explanation:
After correction of errors of capital P in println
Similar questions