- 1
What is the output of this code? int x=3,y=3; do { X-=3; y=y-x; } while(false); System.out.print(y-x)
2 Respostas
+ 5
Nihaal Khan
Inside do
x=3-3=0
y=3-0=3
Then comes out of while because"false"
y-x = 3
0
Yeah its true but when i face common round challenge it produced wrng when i put 3 there 😒