4. Analyze the following program segment and determine how many times
the body of loop will be executed (show the working).
X=5;
y=50;
while(x<=y)
{y=y/x;
System.out.println(y);
y++; }
Answers
Answered by
2
Explanation:
Analyze the following program segment and determine how many times
the body of loop will be executed (show the working).
X=5;
y=50;
while(x<=y)
{y=y/x;
System.out.println(y);
y++; }
Similar questions