Computer Science, asked by arsowmyashree, 1 month ago

predict the output:
int a=15,b=5;
for(int i=1;i<=5;i++) {
a++; --b;
System.out.println(a);
System.out.println(b); }
please answer fast​

Answers

Answered by atrs7391
0

The output:

16

4

17

3

18

2

19

1

20

0

Similar questions