Analyze how many times the following loop gets executed and write the output:
int x= 12124148;
for (; x>0; x/=100)
System.out.println (x%100);
Answers
Answered by
2
Answer:
The loop will execute 4 times.
OUTPUT:
48
41
12
12
Similar questions