Computer Science, asked by shamnapradeesh, 9 months ago

X=5;y=50;
while(X<=y)
{
X=y/x;
}
how many times the loop will execute?
please tell me the answer​

Answers

Answered by kshemanthca4
16
1:x=50/5=10;
2:x=50/10=5;
3:x=50/5=10;
Thus this loop will execute infinitely many times
Similar questions