Computer Science, asked by tarun7578, 4 months ago

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 palakchordiya123
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