Give output
int a;
for (a = 10; a>=2; a--)
System.out.println(a);
System.out.println (a);
Answers
Answered by
0
Answer:
unvalid ..,..
........
Answered by
1
Output:-
(Since the default step value is 1 and step value is not mentioned, we take it as 1)
10
9
8
7
6
5
4
3
2
the loop will stop when it arrives at 2.
Similar questions