Computer Science, asked by iiisha033, 4 months ago

what is the output of this program snippet ?

for(int j = 8; j>=0; j=j-1)
System.out.println(j+"\t"); System.out.println("\n"+j);

Answers

Answered by roysen1992
1

Explanation:

Loop goes down as

8

7

6

5

4

3

2

1

0 (because j>=0 says if not more than , but till equals zero the loop.runs)

Similar questions