what will be the output of the following program code: int n1= 5,n2= 10; for( int x=1;x<=2;x++){ system.out.println(++n1); system.out.println(n2--); system.out.println(n1++); }
Answers
Answered by
0
Answer:
First iteration :
- 6
- 10
- 6
Second iteration :
- 8
- 9
- 8
Please Mark as Brainlist Answer If you like my answer
Similar questions