Computer Science, asked by mayank14309, 6 months ago

a do
17. How many times are the following loops executed ?
(a) x = 5; y = 50 ;
(b) ini
while(x <= y).
{
x = y/x;
w
{
}​

Answers

Answered by Anonymous
0

Answer: I hope it would help u...plzzz...mark me as the Brainliest then I will Inbox u...

Explanation:

1:x=50/5=10;

2:x=50/10=5;

3:x=50/5=10;

Thus this loop will execute infinitely many times

Answered by gauri123456789dixit
1

Answer:

infinite times

Explanation:

x=50/5

now the value of x=10

x=50/10

value of x=5(same as the first one)

this will continue infinite times

Similar questions