(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
0
Answer:
the Loop iterates 5 times
Answered by
0
Answer:
loop will be incremented 5 times
Explanation:
Output:
1
2
3
4
5
Similar questions
Science,
4 months ago
Political Science,
4 months ago
Biology,
4 months ago
Biology,
8 months ago
Math,
8 months ago
Computer Science,
1 year ago
Chemistry,
1 year ago