Consider the following snippet. How many times is the phrase "In the loop" printed?
int a = 6;
int b = 12;
while(a<b)
System.out.println("In the loop");
a+=2;
b-=2;
A. 1
c. 3
B. 2
D. 4
Answers
Answered by
3
Answer:
right answer is option b (2)
Answered by
0
output will be in bracket w
Similar questions