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
16
1:x=50/5=10;
2:x=50/10=5;
3:x=50/5=10;
Thus this loop will execute infinitely many times
2:x=50/10=5;
3:x=50/5=10;
Thus this loop will execute infinitely many times
Similar questions
India Languages,
4 months ago
Biology,
4 months ago
India Languages,
4 months ago
Physics,
9 months ago
Social Sciences,
1 year ago