Computer Science, asked by sahilsamaiya92, 8 months ago

(b) How many times does the following loop iterated? Also give the output:
int x;
for( x=1; x<=5; x++)
{
X++;
System.out.println(x++);
}

Answers

Answered by oharshithakomali
0

Answer:

the Loop iterates 5 times

Answered by adannayeem40
0

Answer:

loop will be incremented 5 times

Explanation:

Output:

1

2

3

4

5

Similar questions