Give the output of the following program segment: for (i = 5; i <8; i--) System.out.println(i + 1);
Advertisements
प्रश्न
Give the output of the following program segment:
for (i = 5; i <8; i--)System.out.println(i + 1);
अति संक्षिप्त उत्तर
Advertisements
उत्तर
Output:
6
5
4
3
2
1
0
-1 ...
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 7: Statements and their Scope - EXERCISE [पृष्ठ १६४]
